Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00151/0.00151, allocations: 113.7 kB / 17.12 MB, free: 5.945 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.002013/0.002013, allocations: 208 kB / 20.09 MB, free: 2.996 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.006/1.006, allocations: 150 MB / 459.5 MB, free: 5.32 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: IBPSA 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.002024/0.002024, allocations: 74.38 kB / 0.6366 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.171, allocations: 89.13 MB / 0.7236 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.002004/0.173, allocations: 0.7295 MB / 0.7243 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1745, allocations: 1.184 MB / 0.7255 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.1746, allocations: 0 / 0.7255 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.1746, allocations: 3.938 kB / 0.7255 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.686e-05/0.1747, allocations: 15.86 kB / 0.7255 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.1752, allocations: 137.9 kB / 0.7257 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1753, allocations: 115.8 kB / 0.7258 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.1754, allocations: 8 kB / 0.7258 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.061e-05/0.1755, allocations: 51.89 kB / 0.7258 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.287e-05/0.1756, allocations: 47.75 kB / 0.7259 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.1756, allocations: 12 kB / 0.7259 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/0.1757, allocations: 27.92 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.1757, allocations: 11.98 kB / 0.7259 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.331e-05/0.1758, allocations: 43.84 kB / 0.726 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.176, allocations: 115.6 kB / 0.7261 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.176, allocations: 0 / 0.7261 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.176, allocations: 0 / 0.7261 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.176, allocations: 4 kB / 0.7261 GB, free: 1.051 MB / 0.5294 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.0006164/0.1766, allocations: 410.8 kB / 0.7265 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1766, allocations: 8.031 kB / 0.7265 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.1767, allocations: 12.89 kB / 0.7265 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.1768, allocations: 176.3 kB / 0.7267 GB, free: 372 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1768, allocations: 12.38 kB / 0.7267 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1769, allocations: 12.31 kB / 0.7267 GB, free: 348 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.1771, allocations: 66.16 kB / 0.7267 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1771, allocations: 192 / 0.7267 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1771, allocations: 3.938 kB / 0.7267 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1771, allocations: 4 kB / 0.7267 GB, free: 268 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.1773, allocations: 39.95 kB / 0.7268 GB, free: 228 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.1778, allocations: 328.8 kB / 0.7271 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.178, allocations: 58.48 kB / 0.7272 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.1781, allocations: 28.97 kB / 0.7272 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.1781, allocations: 0 / 0.7272 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002316/0.1783, allocations: 99.39 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1783, allocations: 0 / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004618/0.1788, allocations: 141.5 kB / 0.7274 GB, free: 15.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1788, allocations: 55.41 kB / 0.7275 GB, free: 15.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1789, allocations: 121.8 kB / 0.7276 GB, free: 15.3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.1789, allocations: 33.7 kB / 0.7276 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.179, allocations: 92.12 kB / 0.7277 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.179, allocations: 7.906 kB / 0.7277 GB, free: 15.16 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.713e-05/0.1791, allocations: 37.7 kB / 0.7277 GB, free: 15.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1792, allocations: 322.8 kB / 0.728 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1794, allocations: 51.97 kB / 0.7281 GB, free: 14.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.1796, allocations: 88.25 kB / 0.7282 GB, free: 14.64 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.1799, allocations: 145.8 kB / 0.7283 GB, free: 14.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1799, allocations: 3.938 kB / 0.7283 GB, free: 14.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004769/0.1804, allocations: 207.2 kB / 0.7285 GB, free: 14.26 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.1804, allocations: 37.7 kB / 0.7286 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1804, allocations: 4.312 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.1804, allocations: 3.938 kB / 0.7286 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.1805, allocations: 19.98 kB / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1805, allocations: 4 kB / 0.7286 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.1808, allocations: 43.84 kB / 0.7286 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.1808, allocations: 11.98 kB / 0.7286 GB, free: 14.13 MB / 0.545 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 9.922e-05/0.1809, allocations: 121.8 kB / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.1809, allocations: 11.94 kB / 0.7288 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.386e-05/0.1809, allocations: 8.375 kB / 0.7288 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1809, allocations: 4 kB / 0.7288 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1809, allocations: 0 / 0.7288 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.1809, allocations: 4 kB / 0.7288 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.1814, allocations: 374.4 kB / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1814, allocations: 0 / 0.7291 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/0.1815, allocations: 4 kB / 0.7291 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1815, allocations: 3.984 kB / 0.7292 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1815, allocations: 16.06 kB / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1815, allocations: 0 / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1815, allocations: 0 / 0.7292 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.1818, allocations: 207.3 kB / 0.7294 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.1819, allocations: 89.05 kB / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1819, allocations: 0 / 0.7294 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.283e-05/0.182, allocations: 15.98 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.182, allocations: 4 kB / 0.7295 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.182, allocations: 7.922 kB / 0.7295 GB, free: 13.17 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.485e-05/0.1821, allocations: 94.45 kB / 0.7296 GB, free: 13.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1821, allocations: 0 / 0.7296 GB, free: 13.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002659/0.1824, allocations: 31.92 kB / 0.7296 GB, free: 13.05 MB / 0.545 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.0001528/0.1825, allocations: 95.25 kB / 0.7297 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004041/0.1829, allocations: 171.2 kB / 0.7299 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1829, allocations: 0 / 0.7299 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.183, allocations: 39.91 kB / 0.7299 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.1833, allocations: 13.56 kB / 0.7299 GB, free: 12.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.1837, allocations: 166.8 kB / 0.7301 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.184, allocations: 0.6885 MB / 0.7307 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.232e-05/0.184, allocations: 7.984 kB / 0.7307 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.1841, allocations: 11.44 kB / 0.7308 GB, free: 11.79 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1841, allocations: 0 / 0.7308 GB, free: 11.79 MB / 0.545 GB Notification: Performance of Templates: time 0.004203/0.1883, allocations: 1.448 MB / 0.7322 GB, free: 10.35 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.241935255937278] Failed to read output from testmodel.py, exit status != 0: 0.19551157299429178 0.20870317200000002 0.029894171 Calling exit ...