Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007967/0.0007968, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008454/0.0008454, allocations: 178 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6966/0.6966, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003562, allocations: 8 kB / 495.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2043, allocations: 77.53 MB / 0.5599 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003394/0.2077, allocations: 2.764 MB / 0.5626 GB, free: 6.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.2094, allocations: 0.9272 MB / 0.5635 GB, free: 5.336 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.2096, allocations: 11.94 kB / 0.5636 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.2098, allocations: 55.5 kB / 0.5636 GB, free: 5.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.21, allocations: 75.42 kB / 0.5637 GB, free: 5.195 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.2105, allocations: 214.9 kB / 0.5639 GB, free: 4.988 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005188/0.2111, allocations: 0.5036 MB / 0.5644 GB, free: 4.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.2115, allocations: 235.3 kB / 0.5646 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000196/0.2117, allocations: 151.1 kB / 0.5647 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.2119, allocations: 154.9 kB / 0.5649 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.2119, allocations: 12 kB / 0.5649 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.468e-05/0.2119, allocations: 16 kB / 0.5649 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.212, allocations: 67.62 kB / 0.565 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.2122, allocations: 212.4 kB / 0.5652 GB, free: 3.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.2126, allocations: 0.5216 MB / 0.5657 GB, free: 3.117 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2126, allocations: 0 / 0.5657 GB, free: 3.117 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.2126, allocations: 0 / 0.5657 GB, free: 3.117 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.2126, allocations: 0 / 0.5657 GB, free: 3.117 MB / 430.1 MB 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.001242/0.2139, allocations: 0.6883 MB / 0.5664 GB, free: 2.379 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.214, allocations: 8.031 kB / 0.5664 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.2141, allocations: 56.28 kB / 0.5664 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.2146, allocations: 408.6 kB / 0.5668 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.2147, allocations: 29.38 kB / 0.5668 GB, free: 1.848 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.2148, allocations: 40.31 kB / 0.5669 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006614/0.2154, allocations: 405.9 kB / 0.5673 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.2155, allocations: 0 / 0.5673 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.2155, allocations: 16 kB / 0.5673 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.2155, allocations: 11.98 kB / 0.5673 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.2161, allocations: 271.8 kB / 0.5676 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.2179, allocations: 1.332 MB / 0.5689 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.2187, allocations: 307.4 kB / 0.5692 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.2189, allocations: 150.5 kB / 0.5693 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.219, allocations: 4 kB / 0.5693 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004257/0.2194, allocations: 170.1 kB / 0.5695 GB, free: 15.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.864e-06/0.2194, allocations: 0 / 0.5695 GB, free: 15.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008626/0.2203, allocations: 387.5 kB / 0.5698 GB, free: 14.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.2204, allocations: 85.09 kB / 0.5699 GB, free: 14.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/0.2208, allocations: 349.6 kB / 0.5702 GB, free: 14.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.2209, allocations: 41.7 kB / 0.5703 GB, free: 14.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.2211, allocations: 233 kB / 0.5705 GB, free: 13.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.131e-05/0.2212, allocations: 102.5 kB / 0.5706 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.2213, allocations: 45.62 kB / 0.5706 GB, free: 13.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.2214, allocations: 346.8 kB / 0.571 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.2217, allocations: 104.7 kB / 0.5711 GB, free: 13.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.222, allocations: 168.6 kB / 0.5712 GB, free: 13.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.2225, allocations: 272.4 kB / 0.5715 GB, free: 12.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2225, allocations: 0 / 0.5715 GB, free: 12.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006132/0.2231, allocations: 362.4 kB / 0.5718 GB, free: 12.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.2231, allocations: 4 kB / 0.5718 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2231, allocations: 4 kB / 0.5719 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2232, allocations: 0 / 0.5719 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002605/0.2234, allocations: 71.91 kB / 0.5719 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.983e-05/0.2235, allocations: 7.938 kB / 0.5719 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.2237, allocations: 39.92 kB / 0.572 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.872e-05/0.2237, allocations: 19.98 kB / 0.572 GB, free: 12.35 MB / 446.1 MB 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.0001985/0.2239, allocations: 177.6 kB / 0.5722 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.224, allocations: 35.53 kB / 0.5722 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.807e-05/0.2241, allocations: 48.25 kB / 0.5722 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.2241, allocations: 4 kB / 0.5722 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.2241, allocations: 4 kB / 0.5722 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.2241, allocations: 3.984 kB / 0.5722 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.2253, allocations: 0.8067 MB / 0.573 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2253, allocations: 0 / 0.573 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002343/0.2255, allocations: 47.91 kB / 0.5731 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2256, allocations: 8 kB / 0.5731 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.2256, allocations: 4 kB / 0.5731 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.2256, allocations: 3.984 kB / 0.5731 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2256, allocations: 4 kB / 0.5731 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.2264, allocations: 0.5183 MB / 0.5736 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.2266, allocations: 132.6 kB / 0.5737 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.2266, allocations: 8 kB / 0.5737 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.2268, allocations: 19.98 kB / 0.5738 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.2269, allocations: 27.95 kB / 0.5738 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.2269, allocations: 12 kB / 0.5738 GB, free: 10.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002934/0.2272, allocations: 247.2 kB / 0.574 GB, free: 10.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.2273, allocations: 0 / 0.574 GB, free: 10.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003824/0.2276, allocations: 91.56 kB / 0.5741 GB, free: 10.07 MB / 446.1 MB 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.0001622/0.2278, allocations: 103.2 kB / 0.5742 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.2284, allocations: 276.9 kB / 0.5745 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2284, allocations: 0 / 0.5745 GB, free: 9.688 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.2287, allocations: 143.8 kB / 0.5746 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.2293, allocations: 89.2 kB / 0.5747 GB, free: 9.465 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.2309, allocations: 1.012 MB / 0.5757 GB, free: 8.422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.2313, allocations: 0.8152 MB / 0.5765 GB, free: 7.578 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.2314, allocations: 47.25 kB / 0.5765 GB, free: 7.531 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.2315, allocations: 27.44 kB / 0.5766 GB, free: 7.504 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2315, allocations: 0 / 0.5766 GB, free: 7.504 MB / 446.1 MB Notification: Performance of Templates: time 0.007964/0.2395, allocations: 3.351 MB / 0.5798 GB, free: 4.199 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)