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.001427/0.001427, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.001606/0.001606, allocations: 220.1 kB / 22.24 MB, free: 5.109 MB / 14.72 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 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-531:686: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-531:694: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.393/1.393, allocations: 203.5 MB / 0.5038 GB, free: 4.922 MB / 414.1 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00244/0.00244, allocations: 74.89 kB / 0.7183 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6458/0.6482, allocations: 102 MB / 0.8179 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Change): time 0.002038/0.6503, allocations: 0.7225 MB / 0.8186 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.6519, allocations: 1.172 MB / 0.8197 GB, free: 480 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.652, allocations: 3.938 kB / 0.8197 GB, free: 476 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.652, allocations: 3.938 kB / 0.8197 GB, free: 472 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.408e-05/0.6521, allocations: 11.92 kB / 0.8197 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.6526, allocations: 134.3 kB / 0.8199 GB, free: 328 kB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.6528, allocations: 115.8 kB / 0.82 GB, free: 212 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 9.689e-05/0.6529, allocations: 19.89 kB / 0.82 GB, free: 192 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.653, allocations: 51.84 kB / 0.82 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.533e-05/0.6531, allocations: 35.88 kB / 0.8201 GB, free: 104 kB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.6531, allocations: 8 kB / 0.8201 GB, free: 96 kB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.802e-05/0.6532, allocations: 23.98 kB / 0.8201 GB, free: 72 kB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.826e-05/0.6532, allocations: 15.92 kB / 0.8201 GB, free: 56 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.6533, allocations: 35.92 kB / 0.8202 GB, free: 20 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.6535, allocations: 123.5 kB / 0.8203 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6535, allocations: 0 / 0.8203 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6535, allocations: 0 / 0.8203 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.6535, allocations: 0 / 0.8203 GB, free: 15.9 MB / 0.6075 GB 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.0006765/0.6542, allocations: 334.3 kB / 0.8206 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.6542, allocations: 8.031 kB / 0.8206 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.6543, allocations: 8.938 kB / 0.8206 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.6544, allocations: 122.3 kB / 0.8207 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.6544, allocations: 8.375 kB / 0.8207 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.6544, allocations: 4.375 kB / 0.8207 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.6546, allocations: 66.22 kB / 0.8208 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.6546, allocations: 192 / 0.8208 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.6547, allocations: 3.938 kB / 0.8208 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.6547, allocations: 0 / 0.8208 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.6549, allocations: 43.95 kB / 0.8208 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.6554, allocations: 260.3 kB / 0.8211 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.6556, allocations: 66.55 kB / 0.8212 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.6557, allocations: 36.89 kB / 0.8212 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.6557, allocations: 0 / 0.8212 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.6559, allocations: 87.3 kB / 0.8213 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.6559, allocations: 0 / 0.8213 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.000509/0.6564, allocations: 145.8 kB / 0.8214 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.6565, allocations: 55.41 kB / 0.8215 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.6566, allocations: 125.2 kB / 0.8216 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.6566, allocations: 29.7 kB / 0.8216 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.6567, allocations: 92.14 kB / 0.8217 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.6567, allocations: 23.91 kB / 0.8217 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.6568, allocations: 37.7 kB / 0.8218 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.657, allocations: 318.8 kB / 0.8221 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.6572, allocations: 81.67 kB / 0.8221 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.6574, allocations: 125.9 kB / 0.8223 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.6577, allocations: 142 kB / 0.8224 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6577, allocations: 0 / 0.8224 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005483/0.6582, allocations: 240.8 kB / 0.8226 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/0.6583, allocations: 41.69 kB / 0.8227 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6583, allocations: 0 / 0.8227 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.6583, allocations: 4 kB / 0.8227 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.502e-05/0.6584, allocations: 15.92 kB / 0.8227 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.6584, allocations: 0 / 0.8227 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.6586, allocations: 36.16 kB / 0.8227 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.6587, allocations: 11.98 kB / 0.8227 GB, free: 13.14 MB / 0.6075 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.0001226/0.6588, allocations: 130.7 kB / 0.8229 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.6588, allocations: 11.94 kB / 0.8229 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.6588, allocations: 8.375 kB / 0.8229 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.6588, allocations: 7.875 kB / 0.8229 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6588, allocations: 0 / 0.8229 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6588, allocations: 0 / 0.8229 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.6593, allocations: 318.1 kB / 0.8232 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6593, allocations: 0 / 0.8232 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.6594, allocations: 7.984 kB / 0.8232 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.6594, allocations: 3.938 kB / 0.8232 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.6594, allocations: 4 kB / 0.8232 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.6594, allocations: 4 kB / 0.8232 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6594, allocations: 3.984 kB / 0.8232 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003365/0.6597, allocations: 203.4 kB / 0.8234 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 1.294e-05/0.6597, allocations: 7.953 kB / 0.8234 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.6598, allocations: 8 kB / 0.8234 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.6599, allocations: 11.92 kB / 0.8234 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.749e-05/0.6599, allocations: 4 kB / 0.8234 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.6599, allocations: 7.984 kB / 0.8234 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.92e-05/0.66, allocations: 87.28 kB / 0.8235 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.66, allocations: 0 / 0.8235 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002793/0.6603, allocations: 24 kB / 0.8235 GB, free: 12.24 MB / 0.6075 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.0001555/0.6604, allocations: 111.2 kB / 0.8237 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004394/0.6609, allocations: 196.9 kB / 0.8238 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.6609, allocations: 0 / 0.8238 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.661, allocations: 35.97 kB / 0.8239 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.6613, allocations: 11.98 kB / 0.8239 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004046/0.6617, allocations: 171 kB / 0.824 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.74e-05/0.6618, allocations: 75.33 kB / 0.8241 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.627e-05/0.6618, allocations: 7.781 kB / 0.8241 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.6618, allocations: 15.44 kB / 0.8241 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.6618, allocations: 0 / 0.8241 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of Templates: time 0.004943/0.6668, allocations: 1.599 MB / 0.8257 GB, free: 10 MB / 0.6075 GB " [Timeout remaining time 659] 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: 6.994432331994176] Failed to read output from testmodel.py, exit status != 0: 0.6758892107754946 0.691546775 0.034753886000000005 Calling exit ...