Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000939/0.000939, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.106/1.106, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002132/0.002132, allocations: 249.4 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7579/0.7579, allocations: 138.4 MB / 402.2 MB, free: 0.5156 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 3.938 kB / 462.3 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.394e-05, allocations: 3.078 kB / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.00565/0.005674, allocations: 4.77 MB / 467.1 MB, free: 13.77 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1767/0.1824, allocations: 146 MB / 0.5987 GB, free: 11.62 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007526/0.1831, allocations: 19.88 kB / 0.5987 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005259/0.1837, allocations: 202.1 kB / 0.5989 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.1851, allocations: 0.57 MB / 0.5995 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.1868, allocations: 0.8352 MB / 0.6003 GB, free: 10 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.1883, allocations: 1.433 MB / 0.6017 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006325/0.1889, allocations: 398.5 kB / 0.6021 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.19, allocations: 0.7484 MB / 0.6028 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005074/0.1905, allocations: 366.9 kB / 0.6032 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.1907, allocations: 104 kB / 0.6032 GB, free: 6.934 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009791/0.1916, allocations: 0.5071 MB / 0.6037 GB, free: 6.426 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.1919, allocations: 283 kB / 0.604 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002927/0.1921, allocations: 367.1 kB / 0.6044 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.1938, allocations: 1.214 MB / 0.6056 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1938, allocations: 0 / 0.6056 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1938, allocations: 0 / 0.6056 GB, free: 4.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.015e-05/0.1938, allocations: 0 / 0.6056 GB, free: 4.57 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.001492/0.1953, allocations: 1.349 MB / 0.6069 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1954, allocations: 8.75 kB / 0.6069 GB, free: 3.191 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008485/0.1962, allocations: 292.7 kB / 0.6072 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.1969, allocations: 0.5823 MB / 0.6077 GB, free: 2.297 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.1969, allocations: 70.12 kB / 0.6078 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/0.197, allocations: 80 kB / 0.6079 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006801/0.1977, allocations: 0.8454 MB / 0.6087 GB, free: 1.215 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1977, allocations: 4 kB / 0.6087 GB, free: 1.211 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/0.1977, allocations: 40.56 kB / 0.6087 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1978, allocations: 20 kB / 0.6088 GB, free: 1.152 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005761/0.1983, allocations: 0.5719 MB / 0.6093 GB, free: 0.5781 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.2001, allocations: 1.632 MB / 0.6109 GB, free: 14.91 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004599/0.2006, allocations: 372.2 kB / 0.6113 GB, free: 14.55 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.2007, allocations: 126.8 kB / 0.6114 GB, free: 14.43 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.2008, allocations: 28.62 kB / 0.6114 GB, free: 14.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007317/0.2015, allocations: 429.8 kB / 0.6118 GB, free: 13.94 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 2.435e-06/0.2015, allocations: 0 / 0.6118 GB, free: 13.94 MB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.000996/0.2025, allocations: 0.5297 MB / 0.6123 GB, free: 13.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.2026, allocations: 192.6 kB / 0.6125 GB, free: 13.17 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003429/0.2029, allocations: 0.5016 MB / 0.613 GB, free: 12.65 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.203, allocations: 49.69 kB / 0.6131 GB, free: 12.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2031, allocations: 330.2 kB / 0.6134 GB, free: 12.27 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2032, allocations: 261.8 kB / 0.6136 GB, free: 12.01 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.2034, allocations: 150.5 kB / 0.6138 GB, free: 11.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2035, allocations: 394.6 kB / 0.6141 GB, free: 11.46 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.2036, allocations: 86.08 kB / 0.6142 GB, free: 11.38 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.2038, allocations: 300.5 kB / 0.6145 GB, free: 11.04 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.2041, allocations: 308.2 kB / 0.6148 GB, free: 10.72 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2041, allocations: 3.938 kB / 0.6148 GB, free: 10.72 MB / 0.573 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0005935/0.2047, allocations: 435 kB / 0.6152 GB, free: 10.28 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2047, allocations: 4 kB / 0.6152 GB, free: 10.28 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.2047, allocations: 3.219 kB / 0.6152 GB, free: 10.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004/0.2051, allocations: 132.7 kB / 0.6154 GB, free: 10.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.2055, allocations: 155.8 kB / 0.6155 GB, free: 9.992 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009992/0.2065, allocations: 1.309 MB / 0.6168 GB, free: 8.602 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.2067, allocations: 75.53 kB / 0.6169 GB, free: 8.527 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.2068, allocations: 19.98 kB / 0.6169 GB, free: 8.508 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.2069, allocations: 171 kB / 0.617 GB, free: 8.332 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/0.207, allocations: 75.94 kB / 0.6171 GB, free: 8.258 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007971/0.2078, allocations: 0.5912 MB / 0.6177 GB, free: 7.656 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.2078, allocations: 8 kB / 0.6177 GB, free: 7.648 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.2078, allocations: 4 kB / 0.6177 GB, free: 7.645 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.2078, allocations: 3.984 kB / 0.6177 GB, free: 7.641 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.2082, allocations: 439.5 kB / 0.6181 GB, free: 7.195 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2082, allocations: 0 / 0.6181 GB, free: 7.195 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002944/0.2085, allocations: 136.4 kB / 0.6183 GB, free: 7.062 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000558/0.2091, allocations: 112.7 kB / 0.6184 GB, free: 6.949 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.2091, allocations: 15.98 kB / 0.6184 GB, free: 6.934 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00084/0.21, allocations: 1.34 MB / 0.6197 GB, free: 5.512 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.21, allocations: 0 / 0.6197 GB, free: 5.512 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005693/0.2105, allocations: 477.1 kB / 0.6201 GB, free: 5.023 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001851/0.2107, allocations: 143.2 kB / 0.6203 GB, free: 4.883 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.2108, allocations: 24.03 kB / 0.6203 GB, free: 4.859 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/0.211, allocations: 35.97 kB / 0.6203 GB, free: 4.824 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.2111, allocations: 68.81 kB / 0.6204 GB, free: 4.754 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.2111, allocations: 23.97 kB / 0.6204 GB, free: 4.73 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001912/0.2113, allocations: 251.4 kB / 0.6207 GB, free: 4.488 MB / 0.573 GB Notification: Performance of sort global known variables: time 9e-08/0.2113, allocations: 0 / 0.6207 GB, free: 4.488 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005641/0.2119, allocations: 335 kB / 0.621 GB, free: 4.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001523/0.2134, allocations: 0.7446 MB / 0.6217 GB, free: 3.781 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006018/0.214, allocations: 493.1 kB / 0.6222 GB, free: 3.289 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.639e-06/0.214, allocations: 4 kB / 0.6222 GB, free: 3.285 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/0.2143, allocations: 355.3 kB / 0.6225 GB, free: 2.926 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.2151, allocations: 317.6 kB / 0.6228 GB, free: 2.652 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.2173, allocations: 1.502 MB / 0.6243 GB, free: 1.121 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.2174, allocations: 194.3 kB / 0.6245 GB, free: 0.9102 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004492/0.2179, allocations: 183.6 kB / 0.6247 GB, free: 0.7266 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/0.2184, allocations: 299 kB / 0.6249 GB, free: 444 kB / 0.573 GB Notification: Performance of SimCode: time 9.31e-07/0.2184, allocations: 0 / 0.6249 GB, free: 444 kB / 0.573 GB Notification: Performance of Templates: time 0.02134/0.2398, allocations: 16.32 MB / 0.6409 GB, free: 464 kB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5071726269088686]