Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.128/1.128, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8403/0.8403, allocations: 154.9 MB / 415.1 MB, free: 236 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 480.4 MB, free: 6.477 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.489e-05, allocations: 4.562 kB / 480.4 MB, free: 6.473 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001429/0.001443, allocations: 0.8018 MB / 481.2 MB, free: 5.707 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.002794, allocations: 1.311 MB / 482.5 MB, free: 4.391 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.002849, allocations: 4 kB / 482.5 MB, free: 4.387 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.042e-05/0.00288, allocations: 9.109 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.951e-05/0.002959, allocations: 20.55 kB / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004669/0.003426, allocations: 249.3 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.003653, allocations: 267.3 kB / 483.1 MB, free: 3.879 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.003758, allocations: 33.95 kB / 483.1 MB, free: 3.844 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.003902, allocations: 156.3 kB / 483.3 MB, free: 3.691 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.004017, allocations: 73.03 kB / 483.3 MB, free: 3.621 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.004045, allocations: 21.09 kB / 483.3 MB, free: 3.602 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.995e-05/0.004125, allocations: 35.98 kB / 483.4 MB, free: 3.566 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.004155, allocations: 35.89 kB / 483.4 MB, free: 3.531 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.004213, allocations: 77 kB / 483.5 MB, free: 3.457 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.004379, allocations: 175.5 kB / 483.7 MB, free: 3.285 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.00438, allocations: 0 / 483.7 MB, free: 3.285 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.004382, allocations: 8.672 kB / 483.7 MB, free: 3.277 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.004384, allocations: 3.938 kB / 483.7 MB, free: 3.273 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003345/0.004719, allocations: 397.1 kB / 484.1 MB, free: 2.852 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.004747, allocations: 11.97 kB / 484.1 MB, free: 2.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.004788, allocations: 32.91 kB / 484.1 MB, free: 2.809 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.004922, allocations: 140 kB / 484.2 MB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.004934, allocations: 12.38 kB / 484.3 MB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.004957, allocations: 24.38 kB / 484.3 MB, free: 2.613 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.005061, allocations: 109.4 kB / 484.4 MB, free: 2.504 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.005068, allocations: 0.875 kB / 484.4 MB, free: 2.504 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.005077, allocations: 4.375 kB / 484.4 MB, free: 2.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.005083, allocations: 5.625 kB / 484.4 MB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.205e-05/0.005125, allocations: 43.84 kB / 484.4 MB, free: 2.453 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002713/0.005396, allocations: 252.8 kB / 484.7 MB, free: 2.191 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.542e-05/0.005471, allocations: 67.05 kB / 484.8 MB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.005491, allocations: 25.72 kB / 484.8 MB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-06/0.005495, allocations: 0.5156 kB / 484.8 MB, free: 2.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.005603, allocations: 113 kB / 484.9 MB, free: 1.969 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.005604, allocations: 4 kB / 484.9 MB, free: 1.965 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001487/0.005753, allocations: 140.2 kB / 485 MB, free: 1.824 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.005781, allocations: 59.41 kB / 485.1 MB, free: 1.754 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.024e-05/0.005851, allocations: 149.7 kB / 485.2 MB, free: 1.598 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.005873, allocations: 38.31 kB / 485.3 MB, free: 1.555 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.005918, allocations: 112.5 kB / 485.4 MB, free: 1.441 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.005937, allocations: 40.34 kB / 485.4 MB, free: 1.402 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.061e-05/0.006008, allocations: 61.64 kB / 485.5 MB, free: 1.336 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.878e-05/0.006077, allocations: 323.4 kB / 485.8 MB, free: 1.012 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.006148, allocations: 108 kB / 485.9 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.006236, allocations: 159 kB / 486.1 MB, free: 0.6992 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.006358, allocations: 196.2 kB / 486.2 MB, free: 484 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.006359, allocations: 0 / 486.2 MB, free: 484 kB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002001/0.006559, allocations: 309.4 kB / 486.5 MB, free: 148 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.006593, allocations: 67.39 kB / 486.6 MB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006597, allocations: 0 / 486.6 MB, free: 68 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.006607, allocations: 4 kB / 486.6 MB, free: 64 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.878e-05/0.006626, allocations: 11.98 kB / 486.6 MB, free: 52 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.006629, allocations: 3.938 kB / 486.6 MB, free: 48 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.006779, allocations: 53.5 kB / 486.7 MB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.006797, allocations: 11.98 kB / 486.7 MB, free: 15.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,fal.y,tru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.634e-05/0.006873, allocations: 127.8 kB / 486.8 MB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.00689, allocations: 19.97 kB / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.006909, allocations: 8.781 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.006912, allocations: 4.75 kB / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.006915, allocations: 0 / 486.9 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006918, allocations: 4.781 kB / 486.9 MB, free: 15.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.007105, allocations: 280.3 kB / 487.1 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.007106, allocations: 1.156 kB / 487.1 MB, free: 15.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/0.007113, allocations: 3.938 kB / 487.1 MB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.007115, allocations: 4 kB / 487.1 MB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.007123, allocations: 8.891 kB / 487.2 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007124, allocations: 0 / 487.2 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007124, allocations: 0 / 487.2 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.007231, allocations: 208.4 kB / 487.4 MB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.007241, allocations: 12.52 kB / 487.4 MB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.007255, allocations: 11.98 kB / 487.4 MB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.199e-05/0.007287, allocations: 0.875 kB / 487.4 MB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/0.007314, allocations: 19.97 kB / 487.4 MB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.007327, allocations: 9.344 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.68e-05/0.007344, allocations: 24.83 kB / 487.4 MB, free: 15.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007344, allocations: 0 / 487.4 MB, free: 15.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.007512, allocations: 43.94 kB / 487.5 MB, free: 15.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.164e-05/0.007594, allocations: 93.59 kB / 487.6 MB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002039/0.007798, allocations: 304.6 kB / 487.9 MB, free: 14.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.0078, allocations: 0 / 487.9 MB, free: 14.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.208e-05/0.007842, allocations: 54.39 kB / 487.9 MB, free: 14.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.007991, allocations: 27.86 kB / 487.9 MB, free: 14.65 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.008261, allocations: 253.1 kB / 488.2 MB, free: 14.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.008298, allocations: 74.28 kB / 488.3 MB, free: 14.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.607e-05/0.008324, allocations: 15.23 kB / 488.3 MB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/0.008421, allocations: 87.36 kB / 488.4 MB, free: 14.19 MB / 458.7 MB Notification: Performance of SimCode: time 3.4e-07/0.008421, allocations: 0 / 488.4 MB, free: 14.19 MB / 458.7 MB Notification: Performance of Templates: time 0.003596/0.01202, allocations: 2.475 MB / 490.8 MB, free: 11.89 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.787970806006342]