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.005463/0.005463, allocations: 102.3 kB / 15.73 MB, free: 6.039 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.001184/0.001184, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 15.17 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.8547/0.8547, allocations: 143 MB / 433.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 57.34 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1936, allocations: 82.04 MB / 0.6756 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005088/0.1988, allocations: 3.13 MB / 0.6787 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.2009, allocations: 0.9622 MB / 0.6796 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005793/0.2015, allocations: 11.94 kB / 0.6796 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.2019, allocations: 79.19 kB / 0.6797 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.2024, allocations: 91.09 kB / 0.6798 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.2031, allocations: 239.2 kB / 0.68 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.2036, allocations: 0.5543 MB / 0.6805 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004294/0.204, allocations: 255.5 kB / 0.6808 GB, free: 5.043 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.2043, allocations: 211 kB / 0.681 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.2045, allocations: 203 kB / 0.6812 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.2046, allocations: 52 kB / 0.6812 GB, free: 4.586 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.497e-05/0.2047, allocations: 52 kB / 0.6813 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.2048, allocations: 111.5 kB / 0.6814 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.205, allocations: 234.8 kB / 0.6816 GB, free: 4.195 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.2056, allocations: 0.6188 MB / 0.6822 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2056, allocations: 0 / 0.6822 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.595e-06/0.2057, allocations: 0 / 0.6822 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.2057, allocations: 4 kB / 0.6822 GB, free: 3.57 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.001219/0.2069, allocations: 0.77 MB / 0.683 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2069, allocations: 8.031 kB / 0.683 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.207, allocations: 56.28 kB / 0.683 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006542/0.2077, allocations: 420.5 kB / 0.6834 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.488e-05/0.2077, allocations: 37.38 kB / 0.6835 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.624e-05/0.2078, allocations: 36.38 kB / 0.6835 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.2084, allocations: 393.9 kB / 0.6839 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.2084, allocations: 7.938 kB / 0.6839 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.2085, allocations: 16 kB / 0.6839 GB, free: 1.734 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.2085, allocations: 12 kB / 0.6839 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005673/0.2091, allocations: 263.9 kB / 0.6842 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.2109, allocations: 1.305 MB / 0.6854 GB, free: 88 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006835/0.2115, allocations: 318.5 kB / 0.6857 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.2118, allocations: 137.5 kB / 0.6859 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.2119, allocations: 4 kB / 0.6859 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/0.2122, allocations: 178.7 kB / 0.686 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 1.663e-06/0.2122, allocations: 0 / 0.686 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.0008393/0.213, allocations: 378.6 kB / 0.6864 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.246e-05/0.2131, allocations: 89.09 kB / 0.6865 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.2136, allocations: 357.5 kB / 0.6868 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.2136, allocations: 29.7 kB / 0.6869 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.2138, allocations: 236.4 kB / 0.6871 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.2139, allocations: 106.5 kB / 0.6872 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.214, allocations: 73.97 kB / 0.6873 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.2143, allocations: 350.8 kB / 0.6876 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.2145, allocations: 100.7 kB / 0.6877 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.2148, allocations: 176.4 kB / 0.6879 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.2153, allocations: 255.7 kB / 0.6881 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2153, allocations: 0 / 0.6881 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006149/0.2159, allocations: 354.6 kB / 0.6884 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.216, allocations: 8 kB / 0.6885 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.216, allocations: 0 / 0.6885 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.216, allocations: 4 kB / 0.6885 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.2163, allocations: 71.83 kB / 0.6885 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.2163, allocations: 4 kB / 0.6885 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.2165, allocations: 39.67 kB / 0.6886 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/0.2165, allocations: 12 kB / 0.6886 GB, free: 12.74 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.000228/0.2168, allocations: 177.8 kB / 0.6887 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.2168, allocations: 35.53 kB / 0.6888 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.217, allocations: 44.25 kB / 0.6888 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.217, allocations: 3.984 kB / 0.6888 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.217, allocations: 4 kB / 0.6888 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.217, allocations: 0 / 0.6888 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.2183, allocations: 0.808 MB / 0.6896 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2183, allocations: 4 kB / 0.6896 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.2186, allocations: 47.92 kB / 0.6897 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.2186, allocations: 0 / 0.6897 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.2187, allocations: 11.98 kB / 0.6897 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2187, allocations: 0 / 0.6897 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2187, allocations: 0 / 0.6897 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009519/0.2196, allocations: 0.5246 MB / 0.6902 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.2198, allocations: 140.6 kB / 0.6903 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.2198, allocations: 4 kB / 0.6903 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.22, allocations: 19.92 kB / 0.6903 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.042e-05/0.2201, allocations: 27.95 kB / 0.6904 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.2202, allocations: 12 kB / 0.6904 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002774/0.2204, allocations: 239.2 kB / 0.6906 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2204, allocations: 0 / 0.6906 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003665/0.2208, allocations: 95.69 kB / 0.6907 GB, free: 10.46 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.0001917/0.221, allocations: 111.9 kB / 0.6908 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006166/0.2216, allocations: 268 kB / 0.6911 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2217, allocations: 3.938 kB / 0.6911 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.2219, allocations: 136.3 kB / 0.6912 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.2225, allocations: 84.05 kB / 0.6913 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.2243, allocations: 0.794 MB / 0.6921 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.2248, allocations: 0.8152 MB / 0.6929 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000156/0.225, allocations: 39.27 kB / 0.6929 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.2251, allocations: 35.42 kB / 0.6929 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of SimCode: time 2e-07/0.2251, allocations: 0 / 0.6929 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of Templates: time 0.008499/0.2336, allocations: 3.703 MB / 0.6965 GB, free: 4.449 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)