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.001173/0.001173, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001547/0.001547, allocations: 173 kB / 23.49 MB, free: 1.059 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.9785/0.9785, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.772/0.772, allocations: 154.6 MB / 414.9 MB, free: 0.6914 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.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 2.514e-06/2.514e-06, allocations: 0 / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.829e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.001585/0.001614, allocations: 0.7302 MB / 0.5211 GB, free: 1.812 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.01196, allocations: 1.204 MB / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.012, allocations: 0 / 0.5222 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.01203, allocations: 3.938 kB / 0.5222 GB, free: 0.5938 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.0121, allocations: 11.86 kB / 0.5223 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.01249, allocations: 128.2 kB / 0.5224 GB, free: 468 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.01264, allocations: 121 kB / 0.5225 GB, free: 348 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.763e-05/0.01273, allocations: 23.91 kB / 0.5225 GB, free: 324 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.01284, allocations: 63.89 kB / 0.5226 GB, free: 260 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.607e-05/0.01292, allocations: 36.89 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.01294, allocations: 15.94 kB / 0.5226 GB, free: 208 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.214e-05/0.01299, allocations: 20 kB / 0.5226 GB, free: 188 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.01301, allocations: 12.95 kB / 0.5227 GB, free: 176 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.01307, allocations: 35.91 kB / 0.5227 GB, free: 140 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.01321, allocations: 91.75 kB / 0.5228 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.01322, allocations: 1 kB / 0.5228 GB, free: 48 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01322, allocations: 3.984 kB / 0.5228 GB, free: 44 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.01322, allocations: 4.906 kB / 0.5228 GB, free: 40 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.0004529/0.01368, allocations: 430.3 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.01371, allocations: 8.969 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.373e-05/0.01376, allocations: 12.89 kB / 0.5232 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006108/0.01987, allocations: 112.6 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.01989, allocations: 9.594 kB / 0.5233 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.01992, allocations: 8.359 kB / 0.5233 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.02006, allocations: 70.86 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.02007, allocations: 4.812 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.02008, allocations: 2.188 kB / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.02008, allocations: 384 / 0.5234 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.949e-05/0.02012, allocations: 11.94 kB / 0.5234 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.02051, allocations: 311.7 kB / 0.5237 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.623e-05/0.0206, allocations: 52.58 kB / 0.5238 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.913e-05/0.02063, allocations: 11.69 kB / 0.5238 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.02064, allocations: 4 kB / 0.5238 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.02075, allocations: 82.38 kB / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.02076, allocations: 0 / 0.5239 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002098/0.02096, allocations: 101.9 kB / 0.524 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.021, allocations: 56.03 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.808e-05/0.02108, allocations: 177.9 kB / 0.5242 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.02111, allocations: 30.42 kB / 0.5242 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.02116, allocations: 138.8 kB / 0.5244 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.02118, allocations: 21.22 kB / 0.5244 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.349e-05/0.02124, allocations: 43.34 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.02136, allocations: 0.4884 MB / 0.5249 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.571e-05/0.02145, allocations: 62.7 kB / 0.5249 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.779e-05/0.02155, allocations: 115.4 kB / 0.5251 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.02166, allocations: 125.9 kB / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.02167, allocations: 0 / 0.5252 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000259/0.02193, allocations: 210.8 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.02196, allocations: 41.62 kB / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.02196, allocations: 0 / 0.5254 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.02197, allocations: 4 kB / 0.5254 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.671e-05/0.02204, allocations: 18.69 kB / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.02205, allocations: 0 / 0.5254 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.02215, allocations: 23.97 kB / 0.5255 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.02217, allocations: 8 kB / 0.5255 GB, free: 13.01 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 7.897e-05/0.02225, allocations: 166.3 kB / 0.5256 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.02226, allocations: 15.89 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.02228, allocations: 8.438 kB / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.02229, allocations: 0 / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.02229, allocations: 0 / 0.5257 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.02229, allocations: 4.938 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.02253, allocations: 349.2 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.02254, allocations: 0.8438 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.02256, allocations: 4 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.02256, allocations: 0.5 kB / 0.526 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.02257, allocations: 3.984 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.02257, allocations: 2.344 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.02257, allocations: 3.938 kB / 0.526 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006197/0.02877, allocations: 235.8 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-06/0.02878, allocations: 3.984 kB / 0.5262 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.0288, allocations: 8 kB / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.44e-05/0.02886, allocations: 0 / 0.5262 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.0289, allocations: 8.859 kB / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.02891, allocations: 0 / 0.5263 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.02895, allocations: 139.8 kB / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02895, allocations: 0 / 0.5264 GB, free: 12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002442/0.0292, allocations: 28.62 kB / 0.5264 GB, free: 11.98 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.0001182/0.02932, allocations: 104.4 kB / 0.5265 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.02953, allocations: 168.8 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.02953, allocations: 3.938 kB / 0.5267 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.786e-05/0.02958, allocations: 23.67 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.02982, allocations: 19.06 kB / 0.5267 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.03012, allocations: 174.7 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.688e-05/0.03016, allocations: 55.36 kB / 0.5269 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.544e-05/0.03018, allocations: 7.984 kB / 0.5269 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/0.03021, allocations: 12.5 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.03021, allocations: 0.8125 kB / 0.527 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.00643/0.03664, allocations: 1.579 MB / 0.5285 GB, free: 9.863 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.992497133091092]