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.001549/0.001549, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001698/0.001698, allocations: 215.2 kB / 22.99 MB, free: 4.945 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9277/0.9277, allocations: 145 MB / 458.2 MB, free: 15.26 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.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.002107/0.002107, allocations: 74.61 kB / 0.6343 GB, free: 6.172 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.2, allocations: 87.89 MB / 0.7201 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004898/0.2049, allocations: 2.963 MB / 0.723 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002024/0.2069, allocations: 0.9778 MB / 0.724 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.2072, allocations: 19.88 kB / 0.724 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.2075, allocations: 79.19 kB / 0.7241 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.2077, allocations: 95.11 kB / 0.7242 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.2083, allocations: 254.5 kB / 0.7244 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005713/0.2089, allocations: 0.5583 MB / 0.7249 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.2092, allocations: 171.9 kB / 0.7251 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/0.2096, allocations: 211.1 kB / 0.7253 GB, free: 8.961 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.2098, allocations: 190.8 kB / 0.7255 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.2099, allocations: 52 kB / 0.7255 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.821e-05/0.21, allocations: 52 kB / 0.7256 GB, free: 8.672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2101, allocations: 119.5 kB / 0.7257 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.2103, allocations: 179.1 kB / 0.7259 GB, free: 8.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.211, allocations: 0.6223 MB / 0.7265 GB, free: 7.754 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.211, allocations: 0 / 0.7265 GB, free: 7.754 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.211, allocations: 4 kB / 0.7265 GB, free: 7.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.211, allocations: 0 / 0.7265 GB, free: 7.75 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.001281/0.2123, allocations: 0.7175 MB / 0.7272 GB, free: 7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.2123, allocations: 12.03 kB / 0.7272 GB, free: 6.988 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002078/0.2126, allocations: 68.59 kB / 0.7273 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.2132, allocations: 357.7 kB / 0.7276 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.015e-05/0.2133, allocations: 41.31 kB / 0.7276 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/0.2133, allocations: 40.38 kB / 0.7277 GB, free: 6.473 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007246/0.2141, allocations: 445.3 kB / 0.7281 GB, free: 5.996 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.2141, allocations: 8 kB / 0.7281 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.2141, allocations: 12 kB / 0.7281 GB, free: 5.977 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2141, allocations: 12 kB / 0.7281 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005527/0.2147, allocations: 259.8 kB / 0.7284 GB, free: 5.715 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.2164, allocations: 1.069 MB / 0.7294 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.2171, allocations: 292 kB / 0.7297 GB, free: 4.309 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.2173, allocations: 128.8 kB / 0.7298 GB, free: 4.18 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.2174, allocations: 4 kB / 0.7298 GB, free: 4.176 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00035/0.2177, allocations: 185.9 kB / 0.73 GB, free: 3.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.804e-06/0.2177, allocations: 0 / 0.73 GB, free: 3.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0008629/0.2186, allocations: 382.8 kB / 0.7304 GB, free: 3.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.2187, allocations: 85.11 kB / 0.7305 GB, free: 3.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.219, allocations: 345.5 kB / 0.7308 GB, free: 3.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.2191, allocations: 37.7 kB / 0.7308 GB, free: 3.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.2193, allocations: 237.3 kB / 0.7311 GB, free: 2.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.55e-05/0.2194, allocations: 107.1 kB / 0.7312 GB, free: 2.777 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.2195, allocations: 74.06 kB / 0.7312 GB, free: 2.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.2196, allocations: 346.8 kB / 0.7316 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.2199, allocations: 104.6 kB / 0.7317 GB, free: 2.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002943/0.2202, allocations: 194.3 kB / 0.7318 GB, free: 2.023 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004712/0.2206, allocations: 259.8 kB / 0.7321 GB, free: 1.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2206, allocations: 0 / 0.7321 GB, free: 1.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006783/0.2213, allocations: 350.8 kB / 0.7324 GB, free: 1.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2213, allocations: 8 kB / 0.7324 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2213, allocations: 0 / 0.7324 GB, free: 1.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.2214, allocations: 4 kB / 0.7324 GB, free: 1.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.2216, allocations: 63.91 kB / 0.7325 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.2216, allocations: 11.92 kB / 0.7325 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.2218, allocations: 39.77 kB / 0.7325 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.2218, allocations: 12 kB / 0.7326 GB, free: 1.266 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.0001956/0.222, allocations: 171 kB / 0.7327 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.2221, allocations: 51.66 kB / 0.7328 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.958e-05/0.2222, allocations: 40.11 kB / 0.7328 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2222, allocations: 4 kB / 0.7328 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2222, allocations: 0 / 0.7328 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.2222, allocations: 3.984 kB / 0.7328 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.2233, allocations: 0.683 MB / 0.7335 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2233, allocations: 3.984 kB / 0.7335 GB, free: 268 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/0.2236, allocations: 51.92 kB / 0.7335 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.2236, allocations: 4 kB / 0.7335 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.2236, allocations: 7.984 kB / 0.7335 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.2236, allocations: 4 kB / 0.7335 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2236, allocations: 4 kB / 0.7336 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008907/0.2245, allocations: 0.516 MB / 0.7341 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.2246, allocations: 63.7 kB / 0.7341 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.2246, allocations: 4 kB / 0.7341 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.2248, allocations: 20.05 kB / 0.7341 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.888e-05/0.2249, allocations: 27.95 kB / 0.7342 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.2249, allocations: 7.984 kB / 0.7342 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002502/0.2252, allocations: 239.2 kB / 0.7344 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2252, allocations: 7.875 kB / 0.7344 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003495/0.2255, allocations: 87.73 kB / 0.7345 GB, free: 15.21 MB / 0.5606 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.0001446/0.2257, allocations: 115.2 kB / 0.7346 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000586/0.2263, allocations: 252 kB / 0.7348 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2263, allocations: 3.938 kB / 0.7348 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.2265, allocations: 127.8 kB / 0.735 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000519/0.227, allocations: 86.7 kB / 0.7351 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.2286, allocations: 0.8343 MB / 0.7359 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.2288, allocations: 211.8 kB / 0.7361 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.2289, allocations: 35.44 kB / 0.7361 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.2289, allocations: 0 / 0.7361 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.008186/0.2371, allocations: 5.054 MB / 0.741 GB, free: 8.457 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: 8.670359117910266] Failed to read output from testmodel.py, exit status != 0: 0.24676648108288646 0.604275431 0.38994756499999994 Calling exit ...