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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 118 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.8972/0.8972, allocations: 144.9 MB / 448.3 MB, free: 13.67 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 63.05 kB / 0.6208 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.168, allocations: 86.64 MB / 0.7054 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004591/0.1726, allocations: 2.998 MB / 0.7084 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1744, allocations: 0.9118 MB / 0.7093 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002372/0.1746, allocations: 15.94 kB / 0.7093 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002265/0.1748, allocations: 63.33 kB / 0.7093 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.175, allocations: 99.16 kB / 0.7094 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004866/0.1755, allocations: 220.6 kB / 0.7096 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000503/0.176, allocations: 499.2 kB / 0.7101 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003066/0.1763, allocations: 153.6 kB / 0.7103 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.1766, allocations: 187.1 kB / 0.7104 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002178/0.1768, allocations: 175.1 kB / 0.7106 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.92e-05/0.1768, allocations: 44 kB / 0.7106 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.515e-05/0.1769, allocations: 44 kB / 0.7107 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.177e-05/0.177, allocations: 91.64 kB / 0.7108 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.1771, allocations: 202.8 kB / 0.711 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.1778, allocations: 0.529 MB / 0.7115 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1778, allocations: 0 / 0.7115 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1778, allocations: 4 kB / 0.7115 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.1778, allocations: 0 / 0.7115 GB, free: 12.68 MB / 0.5294 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.001069/0.1788, allocations: 0.7255 MB / 0.7122 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1789, allocations: 16.03 kB / 0.7122 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.149e-05/0.179, allocations: 56.61 kB / 0.7123 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.1796, allocations: 396.7 kB / 0.7126 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.197e-05/0.1796, allocations: 25.03 kB / 0.7127 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.1797, allocations: 28.38 kB / 0.7127 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.1802, allocations: 341.4 kB / 0.713 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.1803, allocations: 7.984 kB / 0.713 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.1803, allocations: 12 kB / 0.713 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1803, allocations: 8 kB / 0.713 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.1808, allocations: 218.1 kB / 0.7133 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.1822, allocations: 1.174 MB / 0.7144 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.1828, allocations: 227 kB / 0.7146 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002134/0.183, allocations: 111.3 kB / 0.7147 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.183, allocations: 4 kB / 0.7147 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.183, allocations: 30.94 kB / 0.7148 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.183, allocations: 4 kB / 0.7148 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22): time 0.0006541/0.1837, allocations: 297.2 kB / 0.715 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.384e-05/0.1838, allocations: 110.8 kB / 0.7151 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.1841, allocations: 337.7 kB / 0.7155 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.1841, allocations: 33.7 kB / 0.7155 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1843, allocations: 220.5 kB / 0.7157 GB, free: 8.098 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/0.1844, allocations: 87.31 kB / 0.7158 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/0.1845, allocations: 45.7 kB / 0.7158 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.1846, allocations: 350.8 kB / 0.7162 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.1848, allocations: 79.91 kB / 0.7162 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.185, allocations: 143.6 kB / 0.7164 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.1854, allocations: 214.3 kB / 0.7166 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1854, allocations: 0 / 0.7166 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004957/0.1859, allocations: 289.1 kB / 0.7169 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1859, allocations: 4 kB / 0.7169 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1859, allocations: 4 kB / 0.7169 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1859, allocations: 0 / 0.7169 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.1862, allocations: 51.91 kB / 0.7169 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1862, allocations: 4 kB / 0.7169 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.1863, allocations: 39.95 kB / 0.717 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.1864, allocations: 12 kB / 0.717 GB, free: 6.734 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: 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.0001615/0.1865, allocations: 157.7 kB / 0.7171 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.1866, allocations: 39.77 kB / 0.7172 GB, free: 6.531 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.256e-05/0.1867, allocations: 39.36 kB / 0.7172 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1867, allocations: 3.984 kB / 0.7172 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1867, allocations: 0 / 0.7172 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1867, allocations: 4 kB / 0.7172 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.1871, allocations: 397.2 kB / 0.7176 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1871, allocations: 0 / 0.7176 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.1873, allocations: 39.98 kB / 0.7176 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1873, allocations: 0 / 0.7176 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.882e-05/0.1874, allocations: 11.92 kB / 0.7176 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1874, allocations: 4 kB / 0.7176 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1874, allocations: 0 / 0.7176 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007012/0.1881, allocations: 436.9 kB / 0.7181 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1882, allocations: 128.8 kB / 0.7182 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.1882, allocations: 8 kB / 0.7182 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1884, allocations: 15.98 kB / 0.7182 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.1885, allocations: 19.97 kB / 0.7182 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.1885, allocations: 4 kB / 0.7182 GB, free: 5.355 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000242/0.1887, allocations: 243.2 kB / 0.7185 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1887, allocations: 0 / 0.7185 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003081/0.189, allocations: 63.83 kB / 0.7185 GB, free: 5.062 MB / 0.5294 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.0001248/0.1891, allocations: 111.2 kB / 0.7186 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004451/0.1896, allocations: 187.7 kB / 0.7188 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.1896, allocations: 8.312 kB / 0.7188 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.1898, allocations: 97.22 kB / 0.7189 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.1903, allocations: 84.75 kB / 0.719 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.1916, allocations: 0.7457 MB / 0.7197 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.192, allocations: 0.7951 MB / 0.7205 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.607e-05/0.1921, allocations: 31.42 kB / 0.7205 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.1921, allocations: 0 / 0.7205 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of Templates: time 0.006613/0.1987, allocations: 4.266 MB / 0.7247 GB, free: 14.69 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.113746691000415] Failed to read output from testmodel.py, exit status != 0: 0.20568533999903593 0.218259214 0.037904512 Calling exit ...