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.001451/0.001451, allocations: 92.7 kB / 19.44 MB, free: 320 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.002296/0.002296, allocations: 165.3 kB / 22.76 MB, free: 1.648 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.515/1.515, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.248/1.248, allocations: 154.6 MB / 414.1 MB, free: 0.6367 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 178] 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.475e-06/2.475e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.377e-05, allocations: 7.312 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002456/0.00249, allocations: 0.725 MB / 0.5204 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.004687, allocations: 1.282 MB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.004776, allocations: 0 / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.706e-05/0.004833, allocations: 7.875 kB / 0.5216 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.004957, allocations: 20.52 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008472/0.005805, allocations: 248.9 kB / 0.5219 GB, free: 276 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.006235, allocations: 252.1 kB / 0.5221 GB, free: 24 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.006426, allocations: 45.31 kB / 0.5222 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002991/0.006725, allocations: 148.2 kB / 0.5223 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.006938, allocations: 80.58 kB / 0.5224 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.007009, allocations: 24 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.00713, allocations: 51.03 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.302e-05/0.007183, allocations: 31.89 kB / 0.5225 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.00732, allocations: 75.86 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004771/0.007797, allocations: 287.2 kB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.007803, allocations: 0 / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.192e-06/0.007804, allocations: 0 / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.007822, allocations: 0 / 0.5228 GB, free: 15.3 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.0008088/0.008631, allocations: 425.2 kB / 0.5232 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.008673, allocations: 8.031 kB / 0.5232 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.008804, allocations: 33.84 kB / 0.5233 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005968/0.009401, allocations: 178.2 kB / 0.5234 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.009431, allocations: 13.31 kB / 0.5234 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.343e-05/0.009485, allocations: 20.38 kB / 0.5235 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.00979, allocations: 131.7 kB / 0.5236 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.0098, allocations: 4.188 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.00982, allocations: 4.375 kB / 0.5236 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.009834, allocations: 12.11 kB / 0.5236 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.009984, allocations: 64.92 kB / 0.5237 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008939/0.01088, allocations: 348.1 kB / 0.524 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.01108, allocations: 88.59 kB / 0.5241 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.094e-05/0.01115, allocations: 32.83 kB / 0.5241 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.01116, allocations: 4 kB / 0.5241 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003522/0.01152, allocations: 137.6 kB / 0.5243 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.01152, allocations: 7.938 kB / 0.5243 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=16): time 0.0005834/0.0121, allocations: 256.5 kB / 0.5245 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.01216, allocations: 51.41 kB / 0.5246 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.01233, allocations: 153.3 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.01238, allocations: 29.7 kB / 0.5247 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.01249, allocations: 106 kB / 0.5248 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.01253, allocations: 39.73 kB / 0.5249 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.01269, allocations: 69.67 kB / 0.5249 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.01288, allocations: 318.8 kB / 0.5252 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.01311, allocations: 128.1 kB / 0.5254 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.01338, allocations: 194.5 kB / 0.5256 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.01372, allocations: 222.8 kB / 0.5258 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.01372, allocations: 0 / 0.5258 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006541/0.01437, allocations: 381.6 kB / 0.5261 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.001e-05/0.01444, allocations: 70.14 kB / 0.5262 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.01445, allocations: 4 kB / 0.5262 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.01448, allocations: 7.938 kB / 0.5262 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.26e-05/0.01451, allocations: 7.938 kB / 0.5262 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.01452, allocations: 3.984 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003497/0.01487, allocations: 62.03 kB / 0.5263 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.0149, allocations: 15.98 kB / 0.5263 GB, free: 11.46 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 0.0001581/0.01506, allocations: 137.8 kB / 0.5264 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.0151, allocations: 20.78 kB / 0.5264 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.922e-05/0.01514, allocations: 16.77 kB / 0.5265 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.01514, allocations: 4.719 kB / 0.5265 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01515, allocations: 0 / 0.5265 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01515, allocations: 1.031 kB / 0.5265 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.0157, allocations: 416.1 kB / 0.5269 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.0157, allocations: 3.938 kB / 0.5269 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.699e-05/0.01572, allocations: 9.156 kB / 0.5269 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.01572, allocations: 4 kB / 0.5269 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.01574, allocations: 3.938 kB / 0.5269 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.01575, allocations: 4.609 kB / 0.5269 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.01575, allocations: 4.656 kB / 0.5269 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.01613, allocations: 291.4 kB / 0.5272 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.07e-05/0.01615, allocations: 19.31 kB / 0.5272 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.01619, allocations: 15.92 kB / 0.5272 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.01625, allocations: 0 / 0.5272 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.0163, allocations: 11.97 kB / 0.5272 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.01633, allocations: 12 kB / 0.5272 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.373e-05/0.01642, allocations: 95.27 kB / 0.5273 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01642, allocations: 3.938 kB / 0.5273 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003591/0.01678, allocations: 51.92 kB / 0.5274 GB, free: 10.3 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.0001982/0.01697, allocations: 106.2 kB / 0.5275 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.0175, allocations: 332.5 kB / 0.5278 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.0175, allocations: 0 / 0.5278 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.01762, allocations: 63.95 kB / 0.5278 GB, free: 9.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003461/0.01797, allocations: 21.7 kB / 0.5279 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.0186, allocations: 269.1 kB / 0.5281 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.01873, allocations: 105.1 kB / 0.5282 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.318e-05/0.01878, allocations: 6.031 kB / 0.5282 GB, free: 9.328 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.706e-05/0.01881, allocations: 17.03 kB / 0.5282 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of SimCode: time 8.02e-07/0.01881, allocations: 0 / 0.5282 GB, free: 9.312 MB / 0.4948 GB Notification: Performance of Templates: time 0.006927/0.02574, allocations: 2.326 MB / 0.5305 GB, free: 7.133 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=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.029490215005353]