Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008751/0.0008751, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009572/0.0009572, allocations: 177 kB / 23.36 MB, free: 1.129 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.045/1.045, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7953/0.7953, allocations: 154.6 MB / 414.8 MB, free: 492 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0.7656 kB / 480.1 MB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.255e-05, allocations: 2.312 kB / 480.1 MB, free: 6.809 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.005797/0.005819, allocations: 0.807 MB / 480.9 MB, free: 6.035 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.007242, allocations: 1.298 MB / 482.2 MB, free: 4.727 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.007298, allocations: 4 kB / 482.2 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.642e-05/0.007335, allocations: 12.64 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.007407, allocations: 17.17 kB / 482.2 MB, free: 4.699 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.007944, allocations: 254.4 kB / 482.4 MB, free: 4.453 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.008202, allocations: 252.7 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.008316, allocations: 50.92 kB / 482.7 MB, free: 4.18 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.008522, allocations: 149.2 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.00866, allocations: 83.72 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.008694, allocations: 20.84 kB / 483 MB, free: 3.934 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.802e-05/0.008782, allocations: 35.98 kB / 483 MB, free: 3.898 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.008816, allocations: 36.61 kB / 483.1 MB, free: 3.863 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.95e-05/0.008885, allocations: 67.88 kB / 483.1 MB, free: 3.797 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.009101, allocations: 188.2 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.009104, allocations: 0 / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.009105, allocations: 0.625 kB / 483.3 MB, free: 3.613 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.009109, allocations: 0 / 483.3 MB, free: 3.613 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.0004172/0.009526, allocations: 402 kB / 483.7 MB, free: 3.188 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.009562, allocations: 8.031 kB / 483.7 MB, free: 3.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.009617, allocations: 32.91 kB / 483.7 MB, free: 3.148 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.009796, allocations: 133.6 kB / 483.9 MB, free: 2.992 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.009815, allocations: 24.36 kB / 483.9 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.009846, allocations: 20.38 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.009978, allocations: 110 kB / 484 MB, free: 2.836 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.009986, allocations: 0.8438 kB / 484 MB, free: 2.836 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.01, allocations: 12.36 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.01001, allocations: 1.375 kB / 484 MB, free: 2.824 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/0.01006, allocations: 39.86 kB / 484.1 MB, free: 2.789 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.01043, allocations: 257 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.956e-05/0.01052, allocations: 66.48 kB / 484.4 MB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.01055, allocations: 25.47 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-06/0.01055, allocations: 0.625 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.0107, allocations: 120.7 kB / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.0107, allocations: 0 / 484.5 MB, free: 2.293 MB / 442.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001999/0.0109, allocations: 140.1 kB / 484.7 MB, free: 2.152 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.01093, allocations: 59.41 kB / 484.7 MB, free: 2.082 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.01102, allocations: 143.1 kB / 484.9 MB, free: 1.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.01105, allocations: 34.52 kB / 484.9 MB, free: 1.891 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.01111, allocations: 112.5 kB / 485 MB, free: 1.777 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.629e-05/0.01113, allocations: 41.09 kB / 485.1 MB, free: 1.738 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003099/0.01423, allocations: 65.64 kB / 485.1 MB, free: 1.668 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.01431, allocations: 318.8 kB / 485.4 MB, free: 1.348 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.01441, allocations: 107.2 kB / 485.5 MB, free: 1.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.01452, allocations: 163.6 kB / 485.7 MB, free: 1.031 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.01468, allocations: 192.1 kB / 485.9 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.01468, allocations: 1.312 kB / 485.9 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002744/0.01495, allocations: 302 kB / 486.2 MB, free: 496 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.015, allocations: 69.11 kB / 486.2 MB, free: 416 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01501, allocations: 0 / 486.2 MB, free: 416 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.01502, allocations: 5.062 kB / 486.2 MB, free: 412 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.504e-05/0.01505, allocations: 8 kB / 486.3 MB, free: 404 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.01505, allocations: 11.88 kB / 486.3 MB, free: 392 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.01525, allocations: 53.06 kB / 486.3 MB, free: 340 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.01528, allocations: 16.61 kB / 486.3 MB, free: 324 kB / 442.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 9.852e-05/0.01538, allocations: 126.6 kB / 486.5 MB, free: 188 kB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.0154, allocations: 17.98 kB / 486.5 MB, free: 172 kB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.213e-05/0.01543, allocations: 12.77 kB / 486.5 MB, free: 156 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.01544, allocations: 4 kB / 486.5 MB, free: 152 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.01544, allocations: 0 / 486.5 MB, free: 152 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01545, allocations: 3.938 kB / 486.5 MB, free: 148 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.01571, allocations: 279.3 kB / 486.8 MB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01571, allocations: 0.8438 kB / 486.8 MB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.01572, allocations: 0 / 486.8 MB, free: 15.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01573, allocations: 7.938 kB / 486.8 MB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01574, allocations: 9.484 kB / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01574, allocations: 0 / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01574, allocations: 0 / 486.8 MB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.01588, allocations: 205.5 kB / 487 MB, free: 15.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.0159, allocations: 16.66 kB / 487 MB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.01591, allocations: 8 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.292e-05/0.01596, allocations: 4.484 kB / 487 MB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.016, allocations: 16.52 kB / 487 MB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.01602, allocations: 11.98 kB / 487 MB, free: 15.56 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.814e-05/0.01605, allocations: 22.05 kB / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01605, allocations: 0 / 487.1 MB, free: 15.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.0163, allocations: 47.94 kB / 487.1 MB, free: 15.49 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 0.0001263/0.01643, allocations: 94.19 kB / 487.2 MB, free: 15.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.01669, allocations: 303.7 kB / 487.5 MB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.01669, allocations: 0 / 487.5 MB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.01674, allocations: 45.31 kB / 487.5 MB, free: 15.02 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.01696, allocations: 29.48 kB / 487.6 MB, free: 14.99 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.02063, allocations: 251 kB / 487.8 MB, free: 14.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.735e-05/0.02068, allocations: 75.7 kB / 487.9 MB, free: 14.63 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.923e-05/0.02072, allocations: 11.16 kB / 487.9 MB, free: 14.62 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.02086, allocations: 95.28 kB / 488 MB, free: 14.53 MB / 458.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02086, allocations: 1.75 kB / 488 MB, free: 14.53 MB / 458.7 MB Notification: Performance of Templates: time 0.008144/0.029, allocations: 2.469 MB / 490.5 MB, free: 12.24 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.743667570874095]