Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.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.001874/0.001874, allocations: 88.72 kB / 19.44 MB, free: 356 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.002396/0.002396, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.553/1.553, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.257/1.257, allocations: 154.6 MB / 414.1 MB, free: 0.6406 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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.613e-05/3.808e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002252/0.00229, allocations: 0.7231 MB / 0.5203 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001898/0.004188, allocations: 1.176 MB / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.00424, allocations: 0 / 0.5215 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.004271, allocations: 7.875 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.00435, allocations: 5.094 kB / 0.5215 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.004938, allocations: 136.2 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.005164, allocations: 121 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.005274, allocations: 23.89 kB / 0.5218 GB, free: 372 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.005427, allocations: 63.89 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.005539, allocations: 37.06 kB / 0.5219 GB, free: 272 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.005569, allocations: 8 kB / 0.5219 GB, free: 264 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.563e-05/0.005645, allocations: 19.98 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 3.26e-05/0.005677, allocations: 12.47 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.802e-05/0.005755, allocations: 36.45 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.006012, allocations: 131.6 kB / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.006015, allocations: 1.875 kB / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.006016, allocations: 4 kB / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.006021, allocations: 0 / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006959/0.006717, allocations: 335.8 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.006766, allocations: 9.625 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.006842, allocations: 8.938 kB / 0.5224 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.006986, allocations: 117.7 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.007006, allocations: 12.31 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.007032, allocations: 9.828 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.007249, allocations: 62.23 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.007258, allocations: 192 / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.007269, allocations: 1.344 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.007273, allocations: 384 / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.007474, allocations: 52.8 kB / 0.5227 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005365/0.008011, allocations: 257.5 kB / 0.5229 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.008207, allocations: 51.11 kB / 0.5229 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.00833, allocations: 34 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.008347, allocations: 3.938 kB / 0.523 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.00862, allocations: 96.48 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.008621, allocations: 0 / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005067/0.009128, allocations: 147.8 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.009185, allocations: 59.33 kB / 0.5233 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.009312, allocations: 117.8 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.009349, allocations: 31.52 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.009435, allocations: 96.08 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.009462, allocations: 15.84 kB / 0.5235 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.009548, allocations: 37.7 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.009741, allocations: 322.8 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.009938, allocations: 83.31 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004351/0.01037, allocations: 118 kB / 0.5241 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.01069, allocations: 143.7 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.0107, allocations: 0.9375 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005327/0.01123, allocations: 244.1 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.359e-05/0.01129, allocations: 45.62 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.0113, allocations: 0 / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.01132, allocations: 7.938 kB / 0.5245 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.01142, allocations: 11.98 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01142, allocations: 0 / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.01165, allocations: 42.73 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.01167, allocations: 8 kB / 0.5245 GB, free: 13.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001193/0.01179, allocations: 120.1 kB / 0.5247 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.01182, allocations: 11.89 kB / 0.5247 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.01186, allocations: 21.91 kB / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01186, allocations: 0 / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.01187, allocations: 0 / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01187, allocations: 64 / 0.5247 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.01239, allocations: 331.5 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01239, allocations: 0 / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.01245, allocations: 13.27 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.01245, allocations: 0 / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.01246, allocations: 0 / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.01246, allocations: 0.5938 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01247, allocations: 0 / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.01284, allocations: 212.2 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.01285, allocations: 8.453 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.01287, allocations: 2.188 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.652e-05/0.01296, allocations: 7.984 kB / 0.5252 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.01301, allocations: 11.98 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.01302, allocations: 4 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.939e-05/0.01308, allocations: 91.27 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01308, allocations: 2.438 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002619/0.01335, allocations: 24 kB / 0.5254 GB, free: 12.4 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001731/0.01352, allocations: 95.25 kB / 0.5255 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004379/0.01396, allocations: 203 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01396, allocations: 0 / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.01409, allocations: 31.92 kB / 0.5257 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.01439, allocations: 29.45 kB / 0.5257 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.01483, allocations: 157.7 kB / 0.5259 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.647e-05/0.01493, allocations: 76.36 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.669e-05/0.01496, allocations: 4.938 kB / 0.5259 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.015, allocations: 13.41 kB / 0.5259 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.015, allocations: 0 / 0.5259 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of Templates: time 0.005052/0.02005, allocations: 1.574 MB / 0.5275 GB, free: 10.26 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.980251537985168]