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) 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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001602/0.001602, allocations: 108.5 kB / 16.41 MB, free: 6.5 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.001653/0.001653, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.9296/0.9296, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 59.61 kB / 0.5962 GB, free: 12.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1779, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005092/0.183, allocations: 3.141 MB / 0.6793 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.1852, allocations: 0.9661 MB / 0.6803 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.1855, allocations: 15.88 kB / 0.6803 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.1858, allocations: 75.19 kB / 0.6804 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.1861, allocations: 103.1 kB / 0.6805 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005996/0.1867, allocations: 247 kB / 0.6807 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006446/0.1873, allocations: 0.5465 MB / 0.6812 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.1877, allocations: 179.5 kB / 0.6814 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.1879, allocations: 211 kB / 0.6816 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002638/0.1882, allocations: 207 kB / 0.6818 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.388e-05/0.1883, allocations: 52 kB / 0.6819 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.1884, allocations: 56 kB / 0.6819 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1885, allocations: 111.5 kB / 0.682 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.1887, allocations: 234.7 kB / 0.6822 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007332/0.1894, allocations: 0.6224 MB / 0.6829 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1894, allocations: 0 / 0.6829 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1894, allocations: 3.938 kB / 0.6829 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.1894, allocations: 0 / 0.6829 GB, free: 3.617 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.001413/0.1909, allocations: 0.7773 MB / 0.6836 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1909, allocations: 12.03 kB / 0.6836 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.191, allocations: 60.56 kB / 0.6837 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007252/0.1917, allocations: 424.9 kB / 0.6841 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.1918, allocations: 29.38 kB / 0.6841 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.1918, allocations: 40.38 kB / 0.6842 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007665/0.1926, allocations: 397.9 kB / 0.6845 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.1926, allocations: 7.984 kB / 0.6845 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.1927, allocations: 16 kB / 0.6846 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1927, allocations: 8 kB / 0.6846 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/0.1933, allocations: 263.8 kB / 0.6848 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.1952, allocations: 1.305 MB / 0.6861 GB, free: 120 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007448/0.1959, allocations: 291.3 kB / 0.6864 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.1962, allocations: 133.5 kB / 0.6865 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.1963, allocations: 7.984 kB / 0.6865 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003748/0.1966, allocations: 170.1 kB / 0.6867 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.1966, allocations: 0 / 0.6867 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0009447/0.1976, allocations: 386.8 kB / 0.687 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.853e-05/0.1976, allocations: 85.11 kB / 0.6871 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004624/0.1981, allocations: 357.6 kB / 0.6875 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1981, allocations: 33.7 kB / 0.6875 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002/0.1983, allocations: 233.3 kB / 0.6877 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.1985, allocations: 115.1 kB / 0.6878 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.1986, allocations: 66.06 kB / 0.6879 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1988, allocations: 354.8 kB / 0.6882 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.199, allocations: 100.6 kB / 0.6883 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.1993, allocations: 172.3 kB / 0.6885 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.1998, allocations: 259.8 kB / 0.6887 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1998, allocations: 3.938 kB / 0.6887 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006865/0.2005, allocations: 354.7 kB / 0.6891 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2005, allocations: 4 kB / 0.6891 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2005, allocations: 4 kB / 0.6891 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2005, allocations: 4 kB / 0.6891 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.2008, allocations: 67.84 kB / 0.6892 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2008, allocations: 4 kB / 0.6892 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.201, allocations: 39.91 kB / 0.6892 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.2011, allocations: 20 kB / 0.6892 GB, free: 12.79 MB / 0.5294 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.0002232/0.2013, allocations: 174.4 kB / 0.6894 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.2014, allocations: 35.77 kB / 0.6894 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.2015, allocations: 52.23 kB / 0.6895 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2015, allocations: 0 / 0.6895 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.2015, allocations: 4 kB / 0.6895 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2015, allocations: 3.984 kB / 0.6895 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.2028, allocations: 0.8081 MB / 0.6903 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2028, allocations: 0 / 0.6903 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.203, allocations: 51.91 kB / 0.6903 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.203, allocations: 0 / 0.6903 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/0.2031, allocations: 12 kB / 0.6903 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2031, allocations: 0 / 0.6903 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2031, allocations: 0 / 0.6903 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.204, allocations: 0.5247 MB / 0.6908 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.2042, allocations: 148.7 kB / 0.691 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.043e-05/0.2042, allocations: 8 kB / 0.691 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.2044, allocations: 15.98 kB / 0.691 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.351e-05/0.2045, allocations: 23.97 kB / 0.691 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.2045, allocations: 12.05 kB / 0.691 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002836/0.2048, allocations: 243.2 kB / 0.6913 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2048, allocations: 0 / 0.6913 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003618/0.2052, allocations: 83.78 kB / 0.6913 GB, free: 10.51 MB / 0.5294 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.0001482/0.2053, allocations: 117.4 kB / 0.6915 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006189/0.2059, allocations: 256.4 kB / 0.6917 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.2059, allocations: 4 kB / 0.6917 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.2062, allocations: 119.9 kB / 0.6918 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.2067, allocations: 82.17 kB / 0.6919 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.2084, allocations: 0.8486 MB / 0.6927 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.2089, allocations: 0.8113 MB / 0.6935 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.209, allocations: 31.44 kB / 0.6936 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.209, allocations: 0 / 0.6936 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of Templates: time 0.008517/0.2176, allocations: 4.89 MB / 0.6983 GB, free: 3.305 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (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)