Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.035/2.035, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 187.5 kB / 499.1 MB, free: 4.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009637/0.0009637, allocations: 114.3 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009891/0.0009895, allocations: 51.31 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2308, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003472/0.2343, allocations: 3.196 MB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.2355, allocations: 0.9388 MB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.2358, allocations: 11.94 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.236, allocations: 47.58 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.2361, allocations: 79.34 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.2365, allocations: 222.8 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003083/0.2368, allocations: 0.5114 MB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002857/0.2371, allocations: 239.3 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.2373, allocations: 171.1 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2375, allocations: 191 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.415e-05/0.2375, allocations: 24 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 3.975e-05/0.2375, allocations: 31.94 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.2376, allocations: 79.62 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.2377, allocations: 206.7 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.238, allocations: 0.5431 MB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.238, allocations: 4 kB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.21e-07/0.238, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2381, allocations: 0 / 1.224 GB, free: 110.7 MB / 0.823 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.0009071/0.239, allocations: 0.766 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.239, allocations: 11.98 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.268e-05/0.2391, allocations: 60.22 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.2395, allocations: 408.6 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.2395, allocations: 29.38 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.2396, allocations: 44.36 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004784/0.2401, allocations: 401.9 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.2401, allocations: 0 / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2401, allocations: 12 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2401, allocations: 8 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004264/0.2406, allocations: 271.8 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.2418, allocations: 1.316 MB / 1.228 GB, free: 107.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005302/0.2423, allocations: 309.1 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/0.2425, allocations: 144.8 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.2426, allocations: 4 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/0.2429, allocations: 169.5 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 2.094e-06/0.2429, allocations: 0 / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.0006143/0.2435, allocations: 390.5 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.2436, allocations: 85.09 kB / 1.229 GB, free: 106.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.2438, allocations: 345.6 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.2438, allocations: 37.7 kB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.2439, allocations: 240.8 kB / 1.229 GB, free: 105.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.994e-05/0.244, allocations: 102.5 kB / 1.229 GB, free: 105.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.045e-05/0.2441, allocations: 70.06 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.2441, allocations: 354.8 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001757/0.2443, allocations: 96.7 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.2445, allocations: 176.3 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.2449, allocations: 270.5 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2449, allocations: 0 / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004568/0.2453, allocations: 358.1 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2454, allocations: 5.25 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.2454, allocations: 4 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2454, allocations: 4 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.2456, allocations: 67.89 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.2456, allocations: 4 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.2458, allocations: 39.86 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.2458, allocations: 16 kB / 1.231 GB, free: 103.9 MB / 0.823 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.000122/0.246, allocations: 169.7 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.246, allocations: 35.53 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.641e-05/0.2461, allocations: 60.16 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2461, allocations: 0 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2461, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2461, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007876/0.2469, allocations: 0.8025 MB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2469, allocations: 0 / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.2471, allocations: 51.84 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2471, allocations: 0 / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.2472, allocations: 12 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2472, allocations: 4 kB / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2472, allocations: 0 / 1.232 GB, free: 102.7 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.2503, allocations: 2.809 MB / 1.235 GB, free: 99.71 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.2504, allocations: 140.5 kB / 1.235 GB, free: 99.56 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.2505, allocations: 12 kB / 1.235 GB, free: 99.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001739/0.2507, allocations: 27.97 kB / 1.235 GB, free: 99.52 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.2507, allocations: 23.97 kB / 1.235 GB, free: 99.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.2507, allocations: 8 kB / 1.235 GB, free: 99.49 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001607/0.2509, allocations: 243.2 kB / 1.235 GB, free: 99.25 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2509, allocations: 0 / 1.235 GB, free: 99.25 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003759/0.2513, allocations: 115.7 kB / 1.235 GB, free: 99.14 MB / 0.823 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 9.694e-05/0.2514, allocations: 115.2 kB / 1.235 GB, free: 99.02 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.2518, allocations: 260 kB / 1.236 GB, free: 98.76 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2519, allocations: 0 / 1.236 GB, free: 98.76 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.2521, allocations: 131.8 kB / 1.236 GB, free: 98.63 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.2525, allocations: 89 kB / 1.236 GB, free: 98.55 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.2537, allocations: 1.196 MB / 1.237 GB, free: 97.31 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.2539, allocations: 0.8237 MB / 1.238 GB, free: 96.46 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000165/0.2541, allocations: 55.25 kB / 1.238 GB, free: 96.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.026e-05/0.2542, allocations: 35.42 kB / 1.238 GB, free: 96.38 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.2542, allocations: 0 / 1.238 GB, free: 96.38 MB / 0.823 GB Notification: Performance of Templates: time 0.00616/0.2604, allocations: 4.142 MB / 1.242 GB, free: 92.26 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)