Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.001847/0.001847, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.002472/0.002472, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.653/1.653, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.9779/0.9779, allocations: 145 MB / 453.8 MB, free: 0.7344 MB / 350.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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [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.00215/0.00215, allocations: 66.08 kB / 0.6285 GB, free: 10.2 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2364, allocations: 87.82 MB / 0.7142 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005577/0.242, allocations: 3.18 MB / 0.7173 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002522/0.2445, allocations: 1.025 MB / 0.7183 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.2448, allocations: 15.88 kB / 0.7184 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.2452, allocations: 71.25 kB / 0.7184 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002296/0.2454, allocations: 103.1 kB / 0.7185 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007002/0.2461, allocations: 250.8 kB / 0.7188 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000664/0.2467, allocations: 0.5504 MB / 0.7193 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/0.2471, allocations: 187.4 kB / 0.7195 GB, free: 12.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.2475, allocations: 223 kB / 0.7197 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.2478, allocations: 207 kB / 0.7199 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.459e-05/0.2478, allocations: 55.94 kB / 0.7199 GB, free: 12.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.2479, allocations: 56 kB / 0.72 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.2481, allocations: 107.6 kB / 0.7201 GB, free: 12.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002285/0.2483, allocations: 238.7 kB / 0.7203 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008362/0.2491, allocations: 0.6146 MB / 0.7209 GB, free: 11.48 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.2491, allocations: 0 / 0.7209 GB, free: 11.48 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2491, allocations: 0 / 0.7209 GB, free: 11.48 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.2491, allocations: 0 / 0.7209 GB, free: 11.48 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001444/0.2506, allocations: 0.7851 MB / 0.7217 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.2506, allocations: 8.031 kB / 0.7217 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002566/0.2509, allocations: 72.59 kB / 0.7218 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008426/0.2517, allocations: 428.8 kB / 0.7222 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.2518, allocations: 33.36 kB / 0.7222 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.2519, allocations: 40.36 kB / 0.7222 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007612/0.2526, allocations: 397.9 kB / 0.7226 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2526, allocations: 0 / 0.7226 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.903e-05/0.2527, allocations: 16 kB / 0.7226 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.2527, allocations: 8 kB / 0.7226 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000597/0.2533, allocations: 267.8 kB / 0.7229 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001884/0.2552, allocations: 1.305 MB / 0.7242 GB, free: 7.957 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007739/0.256, allocations: 295.2 kB / 0.7245 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003165/0.2563, allocations: 133.5 kB / 0.7246 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.2563, allocations: 0 / 0.7246 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004024/0.2567, allocations: 177.5 kB / 0.7248 GB, free: 7.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.2567, allocations: 4 kB / 0.7248 GB, free: 7.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0009665/0.2577, allocations: 387.4 kB / 0.7251 GB, free: 6.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/0.2578, allocations: 85.05 kB / 0.7252 GB, free: 6.852 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.2582, allocations: 353.6 kB / 0.7255 GB, free: 6.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.2583, allocations: 33.7 kB / 0.7256 GB, free: 6.461 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.2585, allocations: 236.7 kB / 0.7258 GB, free: 6.227 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2586, allocations: 111.1 kB / 0.7259 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.2587, allocations: 74.03 kB / 0.726 GB, free: 6.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.2589, allocations: 350.8 kB / 0.7263 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.2592, allocations: 100.7 kB / 0.7264 GB, free: 5.586 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/0.2595, allocations: 176.3 kB / 0.7266 GB, free: 5.387 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/0.26, allocations: 255.8 kB / 0.7268 GB, free: 5.117 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.26, allocations: 0 / 0.7268 GB, free: 5.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006784/0.2607, allocations: 358.6 kB / 0.7272 GB, free: 4.762 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2607, allocations: 4 kB / 0.7272 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2607, allocations: 4 kB / 0.7272 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.2607, allocations: 192 / 0.7272 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002802/0.261, allocations: 71.91 kB / 0.7272 GB, free: 4.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.261, allocations: 4 kB / 0.7272 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.2612, allocations: 43.72 kB / 0.7273 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/0.2612, allocations: 8 kB / 0.7273 GB, free: 4.629 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 0.0002253/0.2615, allocations: 178 kB / 0.7275 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.271e-05/0.2615, allocations: 43.75 kB / 0.7275 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.2616, allocations: 44.25 kB / 0.7276 GB, free: 4.359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2616, allocations: 4 kB / 0.7276 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2616, allocations: 0 / 0.7276 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2616, allocations: 0 / 0.7276 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.2629, allocations: 0.8148 MB / 0.7284 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.2629, allocations: 4 kB / 0.7284 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.2632, allocations: 51.84 kB / 0.7284 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2632, allocations: 0 / 0.7284 GB, free: 3.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.2632, allocations: 8 kB / 0.7284 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2632, allocations: 4 kB / 0.7284 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2632, allocations: 0 / 0.7284 GB, free: 3.418 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.2642, allocations: 0.5209 MB / 0.7289 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.2643, allocations: 136.8 kB / 0.7291 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.2644, allocations: 11.98 kB / 0.7291 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.2646, allocations: 20.05 kB / 0.7291 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.735e-05/0.2646, allocations: 27.91 kB / 0.7291 GB, free: 2.672 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.103e-05/0.2647, allocations: 12 kB / 0.7291 GB, free: 2.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002824/0.265, allocations: 243.2 kB / 0.7294 GB, free: 2.426 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.265, allocations: 0 / 0.7294 GB, free: 2.426 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003777/0.2653, allocations: 87.72 kB / 0.7294 GB, free: 2.34 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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 0.0001653/0.2655, allocations: 123.1 kB / 0.7296 GB, free: 2.211 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006542/0.2661, allocations: 243.7 kB / 0.7298 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2662, allocations: 0 / 0.7298 GB, free: 1.973 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.2664, allocations: 123.8 kB / 0.7299 GB, free: 1.852 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.267, allocations: 93.38 kB / 0.73 GB, free: 1.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.2688, allocations: 0.8157 MB / 0.7308 GB, free: 0.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004897/0.2693, allocations: 0.8152 MB / 0.7316 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.2695, allocations: 47.27 kB / 0.7316 GB, free: 28 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2696, allocations: 31.44 kB / 0.7317 GB, free: 16 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2696, allocations: 7.875 kB / 0.7317 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of Templates: time 0.009635/0.2792, allocations: 3.737 MB / 0.7353 GB, free: 12.29 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.866969861090183] Failed to read output from testmodel.py, exit status != 0: 0.28826557844877243 0.715406548 0.049381362000000005 Calling exit ...