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.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/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 90] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.007759/0.007759, allocations: 97.22 kB / 15.73 MB, free: 6.004 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.001642/0.001642, allocations: 195.5 kB / 16.67 MB, free: 5.934 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 1.199/1.199, allocations: 143.3 MB / 433.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003074/0.003074, allocations: 63.89 kB / 0.5958 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6517/0.6548, allocations: 82.02 MB / 0.6759 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005353/0.6602, allocations: 3.127 MB / 0.6789 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.6629, allocations: 0.9666 MB / 0.6799 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.6634, allocations: 14.09 kB / 0.6799 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.6637, allocations: 70.72 kB / 0.6799 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.664, allocations: 99.86 kB / 0.68 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.6648, allocations: 244.5 kB / 0.6803 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007876/0.6656, allocations: 0.5455 MB / 0.6808 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005566/0.6662, allocations: 250.5 kB / 0.681 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003442/0.6665, allocations: 203.3 kB / 0.6812 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003186/0.6669, allocations: 213.4 kB / 0.6814 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.667, allocations: 51.81 kB / 0.6815 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.697e-05/0.6671, allocations: 51.66 kB / 0.6815 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.6672, allocations: 109.4 kB / 0.6816 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.6675, allocations: 232.2 kB / 0.6819 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009959/0.6685, allocations: 0.6256 MB / 0.6825 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.6685, allocations: 0 / 0.6825 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.416e-06/0.6685, allocations: 1.25 kB / 0.6825 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.839e-06/0.6685, allocations: 0 / 0.6825 GB, free: 12.11 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.001531/0.6701, allocations: 0.7793 MB / 0.6832 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.6701, allocations: 9.625 kB / 0.6832 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.6703, allocations: 58.69 kB / 0.6833 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000831/0.6711, allocations: 420.5 kB / 0.6837 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.6712, allocations: 33.88 kB / 0.6837 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.6712, allocations: 37.12 kB / 0.6838 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.672, allocations: 403.3 kB / 0.6842 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.6721, allocations: 0 / 0.6842 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.6721, allocations: 15.41 kB / 0.6842 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.6721, allocations: 10.12 kB / 0.6842 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006228/0.6728, allocations: 258.8 kB / 0.6844 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.6749, allocations: 1.313 MB / 0.6857 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007336/0.6756, allocations: 319.3 kB / 0.686 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.6759, allocations: 141.5 kB / 0.6861 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.676, allocations: 3.188 kB / 0.6861 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003867/0.6764, allocations: 173.8 kB / 0.6863 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 4.789e-06/0.6764, allocations: 5.312 kB / 0.6863 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.0009929/0.6774, allocations: 381.3 kB / 0.6867 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.6775, allocations: 90.19 kB / 0.6868 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.678, allocations: 355.7 kB / 0.6871 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.678, allocations: 32.58 kB / 0.6871 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.6783, allocations: 237.2 kB / 0.6874 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.6784, allocations: 112.2 kB / 0.6875 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.6785, allocations: 77.44 kB / 0.6875 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001954/0.6787, allocations: 347.3 kB / 0.6879 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.679, allocations: 100.6 kB / 0.688 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.6793, allocations: 167.6 kB / 0.6881 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.6798, allocations: 264.3 kB / 0.6884 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.6799, allocations: 0 / 0.6884 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007/0.6806, allocations: 349 kB / 0.6887 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6806, allocations: 6.812 kB / 0.6887 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6806, allocations: 1.156 kB / 0.6887 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.6806, allocations: 3.688 kB / 0.6887 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.6809, allocations: 73.19 kB / 0.6888 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/0.681, allocations: 11.27 kB / 0.6888 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.6812, allocations: 40.81 kB / 0.6888 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.6812, allocations: 13.62 kB / 0.6889 GB, free: 7.238 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.000263/0.6815, allocations: 174.7 kB / 0.689 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.681e-05/0.6816, allocations: 38.08 kB / 0.6891 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.6817, allocations: 45.66 kB / 0.6891 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.6817, allocations: 7.469 kB / 0.6891 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.468e-05/0.6817, allocations: 1.406 kB / 0.6891 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.6817, allocations: 3.984 kB / 0.6891 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001543/0.6833, allocations: 0.8042 MB / 0.6899 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6833, allocations: 0 / 0.6899 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.6836, allocations: 52.5 kB / 0.69 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.6836, allocations: 1.156 kB / 0.69 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.6836, allocations: 14.2 kB / 0.69 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.6837, allocations: 1.062 kB / 0.69 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.6837, allocations: 1.062 kB / 0.69 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.6848, allocations: 0.5175 MB / 0.6905 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.685, allocations: 141.4 kB / 0.6906 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.685, allocations: 5.688 kB / 0.6906 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.6852, allocations: 21.55 kB / 0.6906 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6853, allocations: 26.45 kB / 0.6907 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.6854, allocations: 9.875 kB / 0.6907 GB, free: 5.859 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003051/0.6857, allocations: 244.5 kB / 0.6909 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6857, allocations: 0 / 0.6909 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004099/0.6861, allocations: 93.31 kB / 0.691 GB, free: 5.668 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.0001579/0.6862, allocations: 114.9 kB / 0.6911 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006286/0.6869, allocations: 268 kB / 0.6914 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6869, allocations: 0 / 0.6914 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.6872, allocations: 135.1 kB / 0.6915 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.6877, allocations: 92.88 kB / 0.6916 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.6895, allocations: 0.8123 MB / 0.6924 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.69, allocations: 0.8174 MB / 0.6932 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.6902, allocations: 43.27 kB / 0.6932 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.515e-05/0.6903, allocations: 31.44 kB / 0.6932 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.6903, allocations: 0 / 0.6932 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of Templates: time 0.009793/0.7001, allocations: 3.703 MB / 0.6969 GB, free: 320 kB / 0.5137 GB 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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 480]