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.001117/0.001117, allocations: 105.6 kB / 16.64 MB, free: 6.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 197.9 kB / 17.57 MB, free: 5.93 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.292/1.292, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.749/0.749, allocations: 122.9 MB / 414.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 60.14 kB / 0.4912 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3169, allocations: 77.92 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004029/0.3209, allocations: 3.153 MB / 0.5704 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3226, allocations: 0.9339 MB / 0.5713 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003112/0.3229, allocations: 15.78 kB / 0.5713 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.3232, allocations: 49.2 kB / 0.5714 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.3234, allocations: 70.89 kB / 0.5714 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.324, allocations: 220.5 kB / 0.5717 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.3245, allocations: 0.5544 MB / 0.5722 GB, free: 29.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.3249, allocations: 255.8 kB / 0.5724 GB, free: 29.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.3251, allocations: 206.8 kB / 0.5726 GB, free: 29.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.3253, allocations: 211 kB / 0.5728 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.3254, allocations: 52.75 kB / 0.5729 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.018e-05/0.3255, allocations: 51.16 kB / 0.5729 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.116e-05/0.3256, allocations: 106.2 kB / 0.573 GB, free: 28.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.3258, allocations: 241.4 kB / 0.5733 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.3263, allocations: 453.2 kB / 0.5737 GB, free: 28.57 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3263, allocations: 3.453 kB / 0.5737 GB, free: 28.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3263, allocations: 0 / 0.5737 GB, free: 28.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3263, allocations: 0 / 0.5737 GB, free: 28.57 MB / 446.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.001166/0.3275, allocations: 0.7746 MB / 0.5745 GB, free: 27.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3275, allocations: 10.06 kB / 0.5745 GB, free: 27.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.961e-05/0.3276, allocations: 56.44 kB / 0.5745 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005261/0.3281, allocations: 410.3 kB / 0.5749 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.3282, allocations: 38.34 kB / 0.575 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.3283, allocations: 37.98 kB / 0.575 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006697/0.3289, allocations: 399.8 kB / 0.5754 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.329, allocations: 5.688 kB / 0.5754 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.329, allocations: 16.36 kB / 0.5754 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.329, allocations: 9.188 kB / 0.5754 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005347/0.3296, allocations: 262.5 kB / 0.5757 GB, free: 27.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.3312, allocations: 1.313 MB / 0.5769 GB, free: 26.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.3319, allocations: 317 kB / 0.5772 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.3321, allocations: 139.3 kB / 0.5774 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.506e-05/0.3322, allocations: 8.891 kB / 0.5774 GB, free: 26.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.3326, allocations: 167.2 kB / 0.5775 GB, free: 26.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.3326, allocations: 1.656 kB / 0.5775 GB, free: 26.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007684/0.3334, allocations: 382.9 kB / 0.5779 GB, free: 25.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.3334, allocations: 87.73 kB / 0.578 GB, free: 25.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.3338, allocations: 348.3 kB / 0.5783 GB, free: 25.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.3338, allocations: 37.05 kB / 0.5784 GB, free: 25.58 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.3339, allocations: 239.5 kB / 0.5786 GB, free: 25.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.522e-05/0.334, allocations: 103.9 kB / 0.5787 GB, free: 25.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3341, allocations: 72.72 kB / 0.5788 GB, free: 25.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.3342, allocations: 349.6 kB / 0.5791 GB, free: 24.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.3344, allocations: 101.3 kB / 0.5792 GB, free: 24.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.3347, allocations: 166.3 kB / 0.5793 GB, free: 24.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.3351, allocations: 260.7 kB / 0.5796 GB, free: 24.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3351, allocations: 0 / 0.5796 GB, free: 24.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005882/0.3357, allocations: 358.2 kB / 0.5799 GB, free: 24.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3357, allocations: 5.562 kB / 0.5799 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3357, allocations: 2.094 kB / 0.5799 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3357, allocations: 3.656 kB / 0.5799 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.336, allocations: 66.22 kB / 0.58 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.336, allocations: 4.266 kB / 0.58 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.3362, allocations: 44.73 kB / 0.5801 GB, free: 24.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.3363, allocations: 18.03 kB / 0.5801 GB, free: 24.43 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.00016/0.3364, allocations: 183 kB / 0.5802 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.3365, allocations: 37.25 kB / 0.5803 GB, free: 24.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.848e-05/0.3366, allocations: 45.53 kB / 0.5803 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3366, allocations: 4.688 kB / 0.5803 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.3366, allocations: 1.375 kB / 0.5803 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3366, allocations: 5.672 kB / 0.5803 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.3377, allocations: 0.806 MB / 0.5811 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3377, allocations: 1.281 kB / 0.5811 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.3379, allocations: 47.58 kB / 0.5812 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.3379, allocations: 1.469 kB / 0.5812 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.338, allocations: 9.062 kB / 0.5812 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.338, allocations: 2.031 kB / 0.5812 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.338, allocations: 7.875 kB / 0.5812 GB, free: 23.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007431/0.3387, allocations: 0.5146 MB / 0.5817 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3388, allocations: 139.8 kB / 0.5818 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.3389, allocations: 7.688 kB / 0.5818 GB, free: 23.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3391, allocations: 18.62 kB / 0.5818 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.3392, allocations: 25.33 kB / 0.5819 GB, free: 23.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3392, allocations: 8.359 kB / 0.5819 GB, free: 23.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002408/0.3395, allocations: 242.6 kB / 0.5821 GB, free: 23.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3395, allocations: 1.156 kB / 0.5821 GB, free: 23.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.3399, allocations: 93.25 kB / 0.5822 GB, free: 23.1 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.0001136/0.34, allocations: 110 kB / 0.5823 GB, free: 23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006113/0.3406, allocations: 278 kB / 0.5826 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3406, allocations: 1.188 kB / 0.5826 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.3409, allocations: 136.2 kB / 0.5827 GB, free: 22.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.3414, allocations: 85.45 kB / 0.5828 GB, free: 22.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3429, allocations: 0.9968 MB / 0.5838 GB, free: 22.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3431, allocations: 0.8189 MB / 0.5846 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3432, allocations: 31.69 kB / 0.5846 GB, free: 21.42 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3432, allocations: 0 / 0.5846 GB, free: 21.42 MB / 446.1 MB Notification: Performance of Templates: time 0.00705/0.3503, allocations: 4.835 MB / 0.5893 GB, free: 18.91 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)