Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004957/0.004957, allocations: 99.8 kB / 15.73 MB, free: 6.496 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.00118/0.00118, allocations: 199 kB / 16.68 MB, free: 6.375 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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 1.094/1.094, allocations: 143 MB / 433.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 59.91 kB / 0.5955 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5463/0.5481, allocations: 82.03 MB / 0.6756 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004633/0.5528, allocations: 2.968 MB / 0.6785 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.5549, allocations: 0.912 MB / 0.6794 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.5553, allocations: 13.06 kB / 0.6794 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.5556, allocations: 67.8 kB / 0.6795 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.5558, allocations: 95.25 kB / 0.6796 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005612/0.5564, allocations: 216 kB / 0.6798 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.557, allocations: 490.2 kB / 0.6802 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.5574, allocations: 219.9 kB / 0.6804 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.5577, allocations: 181.5 kB / 0.6806 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.5579, allocations: 177.4 kB / 0.6808 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.558, allocations: 42.75 kB / 0.6808 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.7e-05/0.558, allocations: 43.44 kB / 0.6809 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.5582, allocations: 102.1 kB / 0.681 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.5583, allocations: 194.9 kB / 0.6812 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00062/0.559, allocations: 0.5371 MB / 0.6817 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.559, allocations: 0 / 0.6817 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.614e-06/0.559, allocations: 0 / 0.6817 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.559, allocations: 0.9688 kB / 0.6817 GB, free: 12.73 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001245/0.5602, allocations: 0.709 MB / 0.6824 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.5603, allocations: 8.688 kB / 0.6824 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.5604, allocations: 48.06 kB / 0.6824 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.5611, allocations: 404.1 kB / 0.6828 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.5612, allocations: 20.34 kB / 0.6828 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.5612, allocations: 31.44 kB / 0.6829 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.5619, allocations: 343.4 kB / 0.6832 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.5619, allocations: 0 / 0.6832 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.406e-05/0.5619, allocations: 16.06 kB / 0.6832 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.562, allocations: 10.88 kB / 0.6832 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.5624, allocations: 212.1 kB / 0.6834 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.5641, allocations: 1.184 MB / 0.6846 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.5647, allocations: 233.1 kB / 0.6848 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.5649, allocations: 113.3 kB / 0.6849 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.565, allocations: 9.469 kB / 0.6849 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.565, allocations: 36.53 kB / 0.6849 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.565, allocations: 0 / 0.6849 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0007031/0.5657, allocations: 288.7 kB / 0.6852 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.5658, allocations: 109.1 kB / 0.6853 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003915/0.5662, allocations: 339.6 kB / 0.6856 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.5663, allocations: 35.08 kB / 0.6857 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.5665, allocations: 222.2 kB / 0.6859 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.5665, allocations: 76.47 kB / 0.686 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.31e-05/0.5666, allocations: 52.95 kB / 0.686 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.5668, allocations: 349.6 kB / 0.6864 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.567, allocations: 70.44 kB / 0.6864 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/0.5672, allocations: 153 kB / 0.6866 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004206/0.5677, allocations: 205.1 kB / 0.6868 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.5677, allocations: 1.312 kB / 0.6868 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005385/0.5682, allocations: 287.3 kB / 0.687 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.5682, allocations: 5.438 kB / 0.687 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.5683, allocations: 2.375 kB / 0.687 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.5683, allocations: 2.719 kB / 0.687 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.5685, allocations: 56.31 kB / 0.6871 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.5685, allocations: 2.594 kB / 0.6871 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.5687, allocations: 28.58 kB / 0.6871 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.5688, allocations: 11.86 kB / 0.6871 GB, free: 8.375 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001945/0.569, allocations: 169.4 kB / 0.6873 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.569, allocations: 36.66 kB / 0.6873 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.5691, allocations: 40.08 kB / 0.6874 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.5692, allocations: 2.875 kB / 0.6874 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5692, allocations: 0 / 0.6874 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5692, allocations: 0 / 0.6874 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.5697, allocations: 391.4 kB / 0.6878 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5697, allocations: 1.312 kB / 0.6878 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.5699, allocations: 43.47 kB / 0.6878 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.5699, allocations: 5.5 kB / 0.6878 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.5699, allocations: 5.406 kB / 0.6878 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.57, allocations: 1.312 kB / 0.6878 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.57, allocations: 0 / 0.6878 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/0.5707, allocations: 429.8 kB / 0.6882 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.5709, allocations: 131.6 kB / 0.6883 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.359e-05/0.5709, allocations: 10.59 kB / 0.6884 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.5711, allocations: 19.95 kB / 0.6884 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.5712, allocations: 16.84 kB / 0.6884 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.5712, allocations: 12.38 kB / 0.6884 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002965/0.5715, allocations: 237.8 kB / 0.6886 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5715, allocations: 0 / 0.6886 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003646/0.5719, allocations: 69.72 kB / 0.6887 GB, free: 7.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.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001751/0.5721, allocations: 106.4 kB / 0.6888 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000497/0.5726, allocations: 202.2 kB / 0.689 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5726, allocations: 0 / 0.689 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002206/0.5728, allocations: 102.4 kB / 0.6891 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005475/0.5734, allocations: 87.42 kB / 0.6892 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.5748, allocations: 0.694 MB / 0.6898 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.5753, allocations: 0.7902 MB / 0.6906 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001893/0.5755, allocations: 38.42 kB / 0.6907 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.5756, allocations: 33.2 kB / 0.6907 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.5756, allocations: 0 / 0.6907 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of Templates: time 0.008229/0.5838, allocations: 3.233 MB / 0.6938 GB, free: 3.344 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)