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.001387/0.001387, allocations: 88.23 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001493/0.001493, allocations: 165 kB / 23.83 MB, free: 0.7422 MB / 18.57 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 0.9739/0.9739, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.6317/0.6317, allocations: 110.2 MB / 371 MB, free: 12.55 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 3.938 kB / 475.1 MB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.349e-05/4.562e-05, allocations: 5.875 kB / 475.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003508/0.003553, allocations: 3.115 MB / 478.3 MB, free: 13.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.005022, allocations: 1.008 MB / 479.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.00525, allocations: 18.53 kB / 479.3 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002391/0.005489, allocations: 79.06 kB / 479.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.005644, allocations: 100.8 kB / 479.5 MB, free: 12.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.00613, allocations: 249.4 kB / 479.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003912/0.006521, allocations: 0.5641 MB / 480.3 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.006789, allocations: 170.3 kB / 480.4 MB, free: 11.84 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003155/0.007105, allocations: 321.7 kB / 480.8 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.007264, allocations: 148.1 kB / 480.9 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.007314, allocations: 51.66 kB / 481 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.383e-05/0.007388, allocations: 52.62 kB / 481 MB, free: 11.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.206e-05/0.00744, allocations: 108.1 kB / 481.1 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.525e-05/0.007536, allocations: 147.8 kB / 481.3 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.00788, allocations: 360.1 kB / 481.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007883, allocations: 3.031 kB / 481.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.007883, allocations: 0.5 kB / 481.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.00789, allocations: 0 / 481.6 MB, free: 11.23 MB / 410.7 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.000752/0.008642, allocations: 0.793 MB / 482.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.00868, allocations: 8.969 kB / 482.4 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.008877, allocations: 97.08 kB / 482.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.00927, allocations: 386.1 kB / 482.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.009307, allocations: 30.72 kB / 482.9 MB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.854e-05/0.009356, allocations: 41.22 kB / 483 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.009768, allocations: 381.1 kB / 483.3 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.009785, allocations: 192 / 483.3 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.009816, allocations: 20.06 kB / 483.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.009837, allocations: 13.06 kB / 483.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000251/0.01009, allocations: 140.1 kB / 483.5 MB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001252/0.01134, allocations: 1.228 MB / 484.7 MB, free: 25.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.01171, allocations: 226 kB / 484.9 MB, free: 24.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.01182, allocations: 80.02 kB / 485 MB, free: 24.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.01185, allocations: 13.78 kB / 485 MB, free: 24.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.01203, allocations: 140 kB / 485.2 MB, free: 24.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.01203, allocations: 3.938 kB / 485.2 MB, free: 24.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004082/0.01244, allocations: 280.7 kB / 485.5 MB, free: 24.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.01248, allocations: 82.95 kB / 485.5 MB, free: 24.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.01271, allocations: 377.5 kB / 485.9 MB, free: 24.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.01273, allocations: 36.48 kB / 485.9 MB, free: 24.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.01286, allocations: 286.4 kB / 486.2 MB, free: 24.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.01291, allocations: 104 kB / 486.3 MB, free: 24.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.01298, allocations: 80.52 kB / 486.4 MB, free: 24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.01313, allocations: 0.5155 MB / 486.9 MB, free: 23.49 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.171e-05/0.01322, allocations: 53.2 kB / 487 MB, free: 23.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.01336, allocations: 161 kB / 487.1 MB, free: 23.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.01357, allocations: 191.2 kB / 487.3 MB, free: 23.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01357, allocations: 2.156 kB / 487.3 MB, free: 23.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003113/0.01388, allocations: 274.6 kB / 487.6 MB, free: 23.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.0139, allocations: 5.875 kB / 487.6 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.01391, allocations: 5.031 kB / 487.6 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.01393, allocations: 4.25 kB / 487.6 MB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.01414, allocations: 72.91 kB / 487.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.01415, allocations: 3.188 kB / 487.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.01428, allocations: 38.62 kB / 487.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.0143, allocations: 9.656 kB / 487.7 MB, free: 23.06 MB / 426.7 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.0001291/0.01443, allocations: 180 kB / 487.9 MB, free: 22.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.01448, allocations: 48.14 kB / 487.9 MB, free: 22.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.01453, allocations: 52.2 kB / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01453, allocations: 5.656 kB / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.01454, allocations: 0 / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01454, allocations: 0 / 488 MB, free: 22.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.01514, allocations: 0.6458 MB / 488.6 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01515, allocations: 0 / 488.6 MB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.01529, allocations: 50.91 kB / 488.7 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.01529, allocations: 5.188 kB / 488.7 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.01531, allocations: 7.656 kB / 488.7 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.01532, allocations: 1.094 kB / 488.7 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01532, allocations: 0 / 488.7 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.01573, allocations: 445.5 kB / 489.1 MB, free: 22.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.01581, allocations: 75.02 kB / 489.2 MB, free: 22.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.01584, allocations: 10.81 kB / 489.2 MB, free: 22.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.949e-05/0.01592, allocations: 14.08 kB / 489.2 MB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.739e-05/0.01599, allocations: 25.83 kB / 489.3 MB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.01601, allocations: 11.34 kB / 489.3 MB, free: 22.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.0162, allocations: 246.9 kB / 489.5 MB, free: 21.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0162, allocations: 1.469 kB / 489.5 MB, free: 21.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000234/0.01643, allocations: 84.72 kB / 489.6 MB, free: 21.87 MB / 426.7 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 9.792e-05/0.01653, allocations: 115.1 kB / 489.7 MB, free: 21.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.01679, allocations: 183.9 kB / 489.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01679, allocations: 1.125 kB / 489.9 MB, free: 21.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.01691, allocations: 97.08 kB / 490 MB, free: 21.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.01729, allocations: 84.7 kB / 490.1 MB, free: 21.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.01862, allocations: 0.7566 MB / 490.8 MB, free: 21.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.506e-05/0.01869, allocations: 106.9 kB / 490.9 MB, free: 21.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.01881, allocations: 44.42 kB / 491 MB, free: 21.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.01888, allocations: 35.55 kB / 491 MB, free: 21.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01888, allocations: 0 / 491 MB, free: 21.15 MB / 426.7 MB Notification: Performance of Templates: time 0.006906/0.02579, allocations: 3.926 MB / 494.9 MB, free: 20.79 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6576642571017146]