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.001382/0.001382, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001624/0.001624, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9655/0.9655, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7702/0.7702, allocations: 154.6 MB / 414.5 MB, free: 0.6836 MB / 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 2.255e-06/2.255e-06, allocations: 0 / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.565e-05, allocations: 4.141 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001584/0.00161, allocations: 0.7608 MB / 0.5211 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.002839, allocations: 1.297 MB / 0.5223 GB, free: 148 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.546e-05/0.002885, allocations: 4.906 kB / 0.5223 GB, free: 144 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.002918, allocations: 7.875 kB / 0.5223 GB, free: 136 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.588e-05/0.002984, allocations: 16.86 kB / 0.5224 GB, free: 120 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.003467, allocations: 256.3 kB / 0.5226 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000218/0.003685, allocations: 256.7 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.003811, allocations: 37.27 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.003948, allocations: 143.8 kB / 0.523 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.004065, allocations: 84.36 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.004099, allocations: 24.5 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.813e-05/0.004168, allocations: 43.92 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.231e-05/0.0042, allocations: 36.92 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.418e-05/0.004274, allocations: 79.8 kB / 0.5233 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.004497, allocations: 200.7 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.0045, allocations: 0 / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004501, allocations: 0 / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.004505, allocations: 0 / 0.5235 GB, free: 14.98 MB / 0.4948 GB 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.0004698/0.004975, allocations: 0.5169 MB / 0.524 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.005011, allocations: 8.031 kB / 0.524 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.005077, allocations: 36.83 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.0054, allocations: 181.4 kB / 0.5242 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.005416, allocations: 16.36 kB / 0.5242 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.005447, allocations: 20.38 kB / 0.5242 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.005598, allocations: 121.4 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.00561, allocations: 4.188 kB / 0.5243 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.005623, allocations: 5.938 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.005632, allocations: 8.125 kB / 0.5244 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.005703, allocations: 51.89 kB / 0.5244 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000387/0.00609, allocations: 404.1 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.006205, allocations: 83.02 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.006243, allocations: 37.28 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-06/0.006247, allocations: 0 / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.006395, allocations: 135.9 kB / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 9.42e-07/0.006396, allocations: 0 / 0.525 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0002891/0.006685, allocations: 229.4 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.006716, allocations: 56.41 kB / 0.5253 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.256e-05/0.006809, allocations: 204.2 kB / 0.5255 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.006831, allocations: 36.61 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.006896, allocations: 159.2 kB / 0.5257 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.006914, allocations: 31.73 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.962e-05/0.006994, allocations: 79.27 kB / 0.5258 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.007099, allocations: 0.4923 MB / 0.5263 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.007206, allocations: 123.4 kB / 0.5264 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.007342, allocations: 204.5 kB / 0.5266 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.007501, allocations: 229.8 kB / 0.5268 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.007504, allocations: 3.938 kB / 0.5268 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003127/0.007816, allocations: 371.1 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.007852, allocations: 67.39 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007858, allocations: 4 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.007874, allocations: 3.938 kB / 0.5272 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.728e-05/0.007892, allocations: 18.67 kB / 0.5273 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007897, allocations: 0 / 0.5273 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.008032, allocations: 43.92 kB / 0.5273 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.008051, allocations: 15.98 kB / 0.5273 GB, free: 10.71 MB / 0.4948 GB 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,tru.y,fal.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.701e-05/0.008138, allocations: 181 kB / 0.5275 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.008155, allocations: 25.2 kB / 0.5275 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.008181, allocations: 8.781 kB / 0.5275 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.008186, allocations: 7.938 kB / 0.5275 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.008189, allocations: 0.5625 kB / 0.5275 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.008193, allocations: 3.984 kB / 0.5275 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.008487, allocations: 464.2 kB / 0.528 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.008488, allocations: 0 / 0.528 GB, free: 9.988 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-06/0.008496, allocations: 4.484 kB / 0.528 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.008498, allocations: 5.812 kB / 0.528 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.008508, allocations: 7.938 kB / 0.528 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.008509, allocations: 0 / 0.528 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.00851, allocations: 0 / 0.528 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.008703, allocations: 339.8 kB / 0.5283 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-06/0.008711, allocations: 14.28 kB / 0.5283 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.008726, allocations: 11.94 kB / 0.5283 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.471e-05/0.008761, allocations: 7.984 kB / 0.5284 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.008794, allocations: 11.98 kB / 0.5284 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.008812, allocations: 19.97 kB / 0.5284 GB, free: 9.559 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.306e-05/0.008855, allocations: 135.2 kB / 0.5285 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008855, allocations: 0 / 0.5285 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001893/0.009044, allocations: 46.44 kB / 0.5286 GB, free: 9.383 MB / 0.4948 GB 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.000101/0.009145, allocations: 107.1 kB / 0.5287 GB, free: 9.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.009432, allocations: 338.3 kB / 0.529 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.009433, allocations: 0 / 0.529 GB, free: 8.902 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.972e-05/0.009492, allocations: 63.59 kB / 0.529 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.009693, allocations: 27.84 kB / 0.5291 GB, free: 8.812 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003185/0.01001, allocations: 262.8 kB / 0.5293 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.01005, allocations: 63.84 kB / 0.5294 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.01007, allocations: 13.14 kB / 0.5294 GB, free: 8.426 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.0101, allocations: 20.5 kB / 0.5294 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of SimCode: time 3.31e-07/0.0101, allocations: 0 / 0.5294 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of Templates: time 0.003534/0.01363, allocations: 2.327 MB / 0.5317 GB, free: 6.223 MB / 0.4948 GB " [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.976321672089398]