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.0006943/0.0006943, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009076/0.001602, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000681/0.000681, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008878/0.001569, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.01/1.01, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09362/1.103, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.7676/0.7676, allocations: 154.6 MB / 398.8 MB, free: 392 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.281/1.049, allocations: 49.05 MB / 447.8 MB, free: 6.586 MB / 426.7 MB " [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 2.515e-06/2.515e-06, allocations: 0 / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.454e-05, allocations: 4.844 kB / 449.2 MB, free: 5.262 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002012/0.002036, allocations: 0.8081 MB / 450 MB, free: 4.496 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003315, allocations: 1.303 MB / 451.3 MB, free: 3.18 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.007e-05/0.003385, allocations: 0 / 451.3 MB, free: 3.18 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.07e-05/0.003426, allocations: 12.61 kB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.003477, allocations: 20.12 kB / 451.3 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.003902, allocations: 246 kB / 451.5 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.004128, allocations: 248.8 kB / 451.8 MB, free: 2.688 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.004243, allocations: 50.06 kB / 451.8 MB, free: 2.645 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.00441, allocations: 159.2 kB / 452 MB, free: 2.496 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.004537, allocations: 78.86 kB / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.004567, allocations: 21.19 kB / 452.1 MB, free: 2.402 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.186e-05/0.004649, allocations: 35.98 kB / 452.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 3.464e-05/0.004684, allocations: 23.94 kB / 452.1 MB, free: 2.344 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.393e-05/0.004738, allocations: 52.86 kB / 452.2 MB, free: 2.293 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.004904, allocations: 143.5 kB / 452.3 MB, free: 2.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/0.004914, allocations: 5.906 kB / 452.3 MB, free: 2.148 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.004916, allocations: 0 / 452.3 MB, free: 2.148 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.004926, allocations: 4 kB / 452.3 MB, free: 2.145 MB / 426.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.0005144/0.00544, allocations: 427.1 kB / 452.8 MB, free: 1.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.005471, allocations: 8.031 kB / 452.8 MB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.00553, allocations: 37.45 kB / 452.8 MB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.00569, allocations: 134.3 kB / 452.9 MB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.005705, allocations: 12.38 kB / 453 MB, free: 1.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.005737, allocations: 32.83 kB / 453 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.005861, allocations: 103.3 kB / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.005869, allocations: 192 / 453.1 MB, free: 1.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.00588, allocations: 4.375 kB / 453.1 MB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005887, allocations: 8.359 kB / 453.1 MB, free: 1.332 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.054e-05/0.005927, allocations: 36.67 kB / 453.1 MB, free: 1.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.006219, allocations: 257.1 kB / 453.4 MB, free: 1.031 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.809e-05/0.006307, allocations: 67.83 kB / 453.5 MB, free: 0.957 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/0.006327, allocations: 24.84 kB / 453.5 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-06/0.00633, allocations: 0.5312 kB / 453.5 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001257/0.006456, allocations: 117.2 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.042e-06/0.006457, allocations: 0 / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0001606/0.006618, allocations: 141.2 kB / 453.7 MB, free: 0.6641 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.006652, allocations: 63.33 kB / 453.8 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.006726, allocations: 147.9 kB / 453.9 MB, free: 444 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.006747, allocations: 29.7 kB / 454 MB, free: 408 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.006796, allocations: 112.5 kB / 454.1 MB, free: 292 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.006815, allocations: 40.53 kB / 454.1 MB, free: 252 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.006875, allocations: 65.64 kB / 454.2 MB, free: 180 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.006964, allocations: 323.7 kB / 454.5 MB, free: 15.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.007044, allocations: 107.4 kB / 454.6 MB, free: 15.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/0.007138, allocations: 163.1 kB / 454.8 MB, free: 15.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.007271, allocations: 196.7 kB / 454.9 MB, free: 15.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.007274, allocations: 4 kB / 455 MB, free: 15.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002118/0.007486, allocations: 306.1 kB / 455.3 MB, free: 14.98 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.374e-05/0.00753, allocations: 68.11 kB / 455.3 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.007534, allocations: 0 / 455.3 MB, free: 14.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.007545, allocations: 5.781 kB / 455.3 MB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.912e-05/0.007564, allocations: 15.92 kB / 455.3 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.007568, allocations: 3.938 kB / 455.3 MB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.007722, allocations: 52.7 kB / 455.4 MB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.024e-05/0.007742, allocations: 15.98 kB / 455.4 MB, free: 14.81 MB / 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 8.368e-05/0.007826, allocations: 127.9 kB / 455.5 MB, free: 14.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.007843, allocations: 19.98 kB / 455.6 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.007866, allocations: 9.656 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.00787, allocations: 10.38 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.007873, allocations: 1.219 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.007879, allocations: 3.938 kB / 455.6 MB, free: 14.63 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.008059, allocations: 274.7 kB / 455.8 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.008061, allocations: 5.156 kB / 455.9 MB, free: 14.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.193e-06/0.008069, allocations: 3.938 kB / 455.9 MB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.666e-06/0.008077, allocations: 11.94 kB / 455.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.008078, allocations: 1.156 kB / 455.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.008084, allocations: 4 kB / 455.9 MB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.008086, allocations: 3.938 kB / 455.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.008086, allocations: 0.75 kB / 455.9 MB, free: 14.31 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.008198, allocations: 209.9 kB / 456.1 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.00821, allocations: 9.453 kB / 456.1 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.26e-05/0.008243, allocations: 0 / 456.1 MB, free: 14.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.008269, allocations: 19.91 kB / 456.1 MB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.00828, allocations: 4 kB / 456.1 MB, free: 14.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.758e-05/0.008297, allocations: 28.66 kB / 456.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008297, allocations: 0 / 456.1 MB, free: 14.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.008462, allocations: 47.94 kB / 456.2 MB, free: 13.99 MB / 442.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 9.861e-05/0.008561, allocations: 95.25 kB / 456.3 MB, free: 13.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.00877, allocations: 311.4 kB / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.008774, allocations: 0 / 456.6 MB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.321e-05/0.008817, allocations: 57.36 kB / 456.6 MB, free: 13.49 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.009006, allocations: 144.1 kB / 456.8 MB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004408/0.009447, allocations: 259 kB / 457 MB, free: 13.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.679e-05/0.009484, allocations: 71.7 kB / 457.1 MB, free: 12.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.677e-05/0.009511, allocations: 10.36 kB / 457.1 MB, free: 12.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/0.009607, allocations: 88.38 kB / 457.2 MB, free: 12.86 MB / 442.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009607, allocations: 0 / 457.2 MB, free: 12.86 MB / 442.7 MB Notification: Performance of Templates: time 0.00351/0.01312, allocations: 2.479 MB / 459.7 MB, free: 10.57 MB / 442.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 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5357177341356874]