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.00122/0.00122, 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.001386/0.001386, allocations: 173 kB / 23.02 MB, free: 1.547 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.9172/0.9172, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7712/0.7712, 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 1.503e-06/1.503e-06, allocations: 0.7656 kB / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.487e-05, allocations: 4.734 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001232/0.001246, allocations: 0.7522 MB / 0.5211 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.002374, allocations: 1.308 MB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.759e-05/0.002421, allocations: 0.9688 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.002456, allocations: 7.875 kB / 0.5224 GB, free: 164 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.212e-05/0.002528, allocations: 25.33 kB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.00309, allocations: 248.4 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.003348, allocations: 256.6 kB / 0.5229 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.003496, allocations: 41.27 kB / 0.5229 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.003687, allocations: 152.5 kB / 0.523 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.003835, allocations: 77.27 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.003875, allocations: 24 kB / 0.5231 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.168e-05/0.003956, allocations: 33.2 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.003997, allocations: 35.89 kB / 0.5232 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.151e-05/0.004079, allocations: 79.84 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.004309, allocations: 183.3 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.004312, allocations: 0.5 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004313, allocations: 1.781 kB / 0.5235 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.004318, allocations: 0 / 0.5235 GB, free: 15.04 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.0005231/0.004841, allocations: 0.5035 MB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.004876, allocations: 12.03 kB / 0.524 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.004943, allocations: 38.55 kB / 0.524 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.005105, allocations: 156.4 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.005122, allocations: 20.3 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.005149, allocations: 20.38 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.005299, allocations: 122.9 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.005305, allocations: 192 / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.00532, allocations: 8.375 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.005326, allocations: 384 / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.015e-05/0.005397, allocations: 55.89 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.005795, allocations: 408 kB / 0.5248 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.005906, allocations: 88.42 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.271e-05/0.005939, allocations: 31.67 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-06/0.005943, allocations: 3.938 kB / 0.5249 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.00608, allocations: 136.1 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.914e-06/0.006082, allocations: 0.875 kB / 0.525 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0002833/0.006365, allocations: 225.4 kB / 0.5252 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.006398, allocations: 59.34 kB / 0.5253 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.862e-05/0.006496, allocations: 203.7 kB / 0.5255 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.006517, allocations: 29.7 kB / 0.5255 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.006579, allocations: 163.4 kB / 0.5257 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.0066, allocations: 35.73 kB / 0.5257 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.006669, allocations: 71.34 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.006766, allocations: 0.4884 MB / 0.5262 GB, free: 12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.00687, allocations: 127.3 kB / 0.5264 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.006995, allocations: 204 kB / 0.5266 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.007148, allocations: 225.5 kB / 0.5268 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.00715, allocations: 6.844 kB / 0.5268 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003101/0.007461, allocations: 376.1 kB / 0.5271 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.007495, allocations: 67.39 kB / 0.5272 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.0075, allocations: 4 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.007511, allocations: 6.75 kB / 0.5272 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.768e-05/0.007529, allocations: 7.938 kB / 0.5272 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.007535, allocations: 7.938 kB / 0.5272 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.007703, allocations: 43.91 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.007723, allocations: 19.98 kB / 0.5273 GB, free: 10.78 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.293e-05/0.007805, allocations: 174.4 kB / 0.5275 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.007825, allocations: 31.83 kB / 0.5275 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.007848, allocations: 8.781 kB / 0.5275 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.007849, allocations: 4.688 kB / 0.5275 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.007856, allocations: 4.781 kB / 0.5275 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007859, allocations: 3.938 kB / 0.5275 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.008215, allocations: 461.1 kB / 0.5279 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.008217, allocations: 0 / 0.5279 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.245e-06/0.008225, allocations: 7.938 kB / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.008227, allocations: 0 / 0.5279 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.008237, allocations: 7.922 kB / 0.528 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.008239, allocations: 6.438 kB / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.00824, allocations: 0 / 0.528 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.008435, allocations: 327.8 kB / 0.5283 GB, free: 9.703 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.135e-05/0.008446, allocations: 19.83 kB / 0.5283 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.008461, allocations: 11.94 kB / 0.5283 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.309e-05/0.008494, allocations: 7.984 kB / 0.5283 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.008529, allocations: 14.55 kB / 0.5283 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.008546, allocations: 11.98 kB / 0.5283 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.008585, allocations: 135.2 kB / 0.5285 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.008585, allocations: 0 / 0.5285 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001898/0.008775, allocations: 44 kB / 0.5285 GB, free: 9.465 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 9.266e-05/0.008867, allocations: 113.8 kB / 0.5286 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002593/0.009127, allocations: 334.5 kB / 0.5289 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.009128, allocations: 4 kB / 0.5289 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.009184, allocations: 59.66 kB / 0.529 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.009394, allocations: 35.64 kB / 0.529 GB, free: 8.887 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.009712, allocations: 266.7 kB / 0.5293 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.00975, allocations: 63.84 kB / 0.5293 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.009777, allocations: 13.14 kB / 0.5294 GB, free: 8.496 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.009799, allocations: 20.5 kB / 0.5294 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.009799, allocations: 3.281 kB / 0.5294 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of Templates: time 0.003894/0.01369, allocations: 2.463 MB / 0.5318 GB, free: 6.164 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.512767804786563]