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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 110.6 kB / 17.33 MB, free: 5.043 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.001288/0.001288, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.489/1.489, allocations: 225.6 MB / 244.8 MB, free: 13.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8922/0.8922, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 66.89 kB / 0.5911 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2144, allocations: 83.27 MB / 0.6724 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005559/0.22, allocations: 3.14 MB / 0.6755 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002418/0.2224, allocations: 0.9777 MB / 0.6765 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000344/0.2228, allocations: 11.94 kB / 0.6765 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.2231, allocations: 71.25 kB / 0.6765 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.2233, allocations: 99.11 kB / 0.6766 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.224, allocations: 262.6 kB / 0.6769 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006729/0.2246, allocations: 0.5465 MB / 0.6774 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.225, allocations: 187.5 kB / 0.6776 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.2254, allocations: 203.2 kB / 0.6778 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.2256, allocations: 218.8 kB / 0.678 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/0.2257, allocations: 52 kB / 0.6781 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-05/0.2258, allocations: 52 kB / 0.6781 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2259, allocations: 107.6 kB / 0.6782 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.2262, allocations: 234.7 kB / 0.6784 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007997/0.227, allocations: 0.5913 MB / 0.679 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.227, allocations: 0 / 0.679 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.274e-06/0.227, allocations: 0 / 0.679 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.227, allocations: 0 / 0.679 GB, free: 13.3 MB / 0.5137 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.001425/0.2284, allocations: 0.7812 MB / 0.6798 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.2284, allocations: 12.03 kB / 0.6798 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2286, allocations: 56.56 kB / 0.6798 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007499/0.2293, allocations: 420.9 kB / 0.6802 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.917e-05/0.2293, allocations: 37.31 kB / 0.6803 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.83e-05/0.2294, allocations: 40.38 kB / 0.6803 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007254/0.2301, allocations: 397.9 kB / 0.6807 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2302, allocations: 0 / 0.6807 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.296e-05/0.2302, allocations: 16 kB / 0.6807 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.2302, allocations: 8 kB / 0.6807 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/0.2308, allocations: 271.8 kB / 0.681 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.2328, allocations: 1.301 MB / 0.6822 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007148/0.2335, allocations: 304.1 kB / 0.6825 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.2337, allocations: 124.8 kB / 0.6827 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.2338, allocations: 4 kB / 0.6827 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003554/0.2341, allocations: 173.6 kB / 0.6828 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.753e-06/0.2341, allocations: 0 / 0.6828 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0008634/0.235, allocations: 390.7 kB / 0.6832 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/0.2351, allocations: 85.09 kB / 0.6833 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.2355, allocations: 349.6 kB / 0.6836 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.2355, allocations: 37.7 kB / 0.6836 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.2357, allocations: 237.3 kB / 0.6839 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.2358, allocations: 111 kB / 0.684 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.236, allocations: 78.02 kB / 0.6841 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.2361, allocations: 346.8 kB / 0.6844 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.2364, allocations: 100.7 kB / 0.6845 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.2367, allocations: 176.4 kB / 0.6846 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.2371, allocations: 255.8 kB / 0.6849 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2371, allocations: 0 / 0.6849 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006249/0.2377, allocations: 350.9 kB / 0.6852 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2378, allocations: 8.031 kB / 0.6852 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2378, allocations: 4 kB / 0.6852 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.2378, allocations: 4 kB / 0.6852 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.2382, allocations: 71.83 kB / 0.6853 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.2382, allocations: 4 kB / 0.6853 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.2384, allocations: 47.66 kB / 0.6854 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.2384, allocations: 8 kB / 0.6854 GB, free: 6.465 MB / 0.5137 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.0002184/0.2387, allocations: 186.9 kB / 0.6855 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.2387, allocations: 35.77 kB / 0.6856 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.2388, allocations: 40.25 kB / 0.6856 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2388, allocations: 4 kB / 0.6856 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.2388, allocations: 3.984 kB / 0.6856 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2388, allocations: 4 kB / 0.6856 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.2401, allocations: 0.8081 MB / 0.6864 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2401, allocations: 4 kB / 0.6864 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002424/0.2403, allocations: 47.92 kB / 0.6865 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2403, allocations: 0 / 0.6865 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.2404, allocations: 11.98 kB / 0.6865 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2404, allocations: 0 / 0.6865 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2404, allocations: 0 / 0.6865 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008743/0.2413, allocations: 0.5236 MB / 0.687 GB, free: 4.723 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.2414, allocations: 140.8 kB / 0.6871 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.2415, allocations: 8 kB / 0.6871 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2416, allocations: 15.98 kB / 0.6871 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.2417, allocations: 27.95 kB / 0.6872 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.2417, allocations: 12 kB / 0.6872 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002788/0.242, allocations: 243.1 kB / 0.6874 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.242, allocations: 0 / 0.6874 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003869/0.2424, allocations: 95.78 kB / 0.6875 GB, free: 4.172 MB / 0.5137 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.0001613/0.2426, allocations: 106.8 kB / 0.6876 GB, free: 4.062 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005917/0.2432, allocations: 256 kB / 0.6879 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2432, allocations: 3.938 kB / 0.6879 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.2434, allocations: 124.3 kB / 0.688 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005727/0.244, allocations: 85.38 kB / 0.6881 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.2458, allocations: 0.808 MB / 0.6888 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.2463, allocations: 0.8191 MB / 0.6896 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.2465, allocations: 43.25 kB / 0.6897 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.895e-05/0.2466, allocations: 31.44 kB / 0.6897 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.2466, allocations: 0 / 0.6897 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of Templates: time 0.009607/0.2562, allocations: 3.748 MB / 0.6934 GB, free: 14.12 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (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) [Timeout 480]