Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.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.001623/0.001623, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001782/0.001782, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8541/0.8541, allocations: 145 MB / 458.2 MB, free: 15.54 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer") [Timeout 660] "Notification: BuildSysPro 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.001982/0.001982, allocations: 70.08 kB / 0.6344 GB, free: 6.887 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1643, allocations: 87.89 MB / 0.7202 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002564/0.1668, allocations: 1.494 MB / 0.7216 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007766/0.1676, allocations: 498.7 kB / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.693e-05/0.1676, allocations: 0 / 0.7221 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.079e-05/0.1677, allocations: 11.92 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.1677, allocations: 7.938 kB / 0.7221 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.1679, allocations: 15.92 kB / 0.7222 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.57e-05/0.1679, allocations: 55.89 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.26e-05/0.168, allocations: 11.94 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.1681, allocations: 23.92 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.1682, allocations: 23.84 kB / 0.7223 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1682, allocations: 8 kB / 0.7223 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.1682, allocations: 4 kB / 0.7223 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.1682, allocations: 8 kB / 0.7223 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.1682, allocations: 23.86 kB / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.1684, allocations: 47.81 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1684, allocations: 0 / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1684, allocations: 0 / 0.7223 GB, free: 12.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.1684, allocations: 4 kB / 0.7224 GB, free: 12.76 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004769/0.1688, allocations: 278.3 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1689, allocations: 12.03 kB / 0.7226 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.1689, allocations: 8.922 kB / 0.7226 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.169, allocations: 114.4 kB / 0.7227 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.169, allocations: 12.31 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1691, allocations: 4.375 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.1692, allocations: 61.92 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1692, allocations: 4 kB / 0.7228 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1692, allocations: 4 kB / 0.7228 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1692, allocations: 0 / 0.7228 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.759e-05/0.1692, allocations: 23.98 kB / 0.7229 GB, free: 12.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.1697, allocations: 271.8 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1698, allocations: 62.53 kB / 0.7232 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.1699, allocations: 20.91 kB / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.1699, allocations: 0 / 0.7232 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.17, allocations: 71.42 kB / 0.7233 GB, free: 11.71 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.17, allocations: 4 kB / 0.7233 GB, free: 11.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0002179/0.1702, allocations: 97.61 kB / 0.7234 GB, free: 11.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1703, allocations: 55.41 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.1703, allocations: 117.8 kB / 0.7235 GB, free: 11.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1704, allocations: 29.7 kB / 0.7236 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.1704, allocations: 80.81 kB / 0.7236 GB, free: 11.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.1704, allocations: 23.84 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.1705, allocations: 25.72 kB / 0.7237 GB, free: 11.24 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1706, allocations: 330.8 kB / 0.724 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.892e-05/0.1707, allocations: 12 kB / 0.724 GB, free: 10.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.903e-05/0.1707, allocations: 55.36 kB / 0.7241 GB, free: 10.83 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.444e-05/0.1708, allocations: 59.42 kB / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1708, allocations: 4 kB / 0.7241 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000143/0.171, allocations: 97.5 kB / 0.7242 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.171, allocations: 4 kB / 0.7242 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.171, allocations: 4 kB / 0.7242 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.171, allocations: 0 / 0.7242 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.419e-05/0.1711, allocations: 12.41 kB / 0.7242 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1711, allocations: 0 / 0.7242 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.468e-05/0.1711, allocations: 15.92 kB / 0.7242 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.1711, allocations: 4 kB / 0.7242 GB, free: 10.61 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.857e-05/0.1712, allocations: 131 kB / 0.7244 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.1712, allocations: 4.016 kB / 0.7244 GB, free: 10.47 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.1713, allocations: 12.06 kB / 0.7244 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1713, allocations: 4 kB / 0.7244 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1713, allocations: 11.92 kB / 0.7244 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1713, allocations: 0 / 0.7244 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.1717, allocations: 325.5 kB / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1717, allocations: 0 / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.1717, allocations: 4 kB / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.1717, allocations: 0 / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.1717, allocations: 4 kB / 0.7247 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1717, allocations: 3.938 kB / 0.7247 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1717, allocations: 0 / 0.7247 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.1719, allocations: 187.4 kB / 0.7249 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-06/0.1719, allocations: 3.938 kB / 0.7249 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1719, allocations: 8.281 kB / 0.7249 GB, free: 9.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.172, allocations: 11.92 kB / 0.7249 GB, free: 9.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.172, allocations: 7.922 kB / 0.7249 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.649e-06/0.172, allocations: 4 kB / 0.7249 GB, free: 9.828 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.1721, allocations: 87.27 kB / 0.725 GB, free: 9.742 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1721, allocations: 4 kB / 0.725 GB, free: 9.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002308/0.1723, allocations: 19.95 kB / 0.725 GB, free: 9.719 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 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 9.302e-05/0.1724, allocations: 99.23 kB / 0.7251 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.1725, allocations: 47.92 kB / 0.7252 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1725, allocations: 0 / 0.7252 GB, free: 9.566 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.1726, allocations: 32.05 kB / 0.7252 GB, free: 9.535 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1728, allocations: 8 kB / 0.7252 GB, free: 9.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.1732, allocations: 195.1 kB / 0.7254 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.1735, allocations: 0.6846 MB / 0.7261 GB, free: 8.594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.271e-05/0.1735, allocations: 15.44 kB / 0.7261 GB, free: 8.578 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1735, allocations: 0 / 0.7261 GB, free: 8.578 MB / 0.545 GB Notification: Performance of Templates: time 0.002167/0.1757, allocations: 0.8679 MB / 0.7269 GB, free: 7.715 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.195690809050575] Failed to read output from testmodel.py, exit status != 0: 0.18369654100388288 0.197552939 0.026301873 Calling exit ...