Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001495/0.001495, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001507/0.001507, allocations: 193.2 kB / 22.17 MB, free: 5.656 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.35/1.35, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002444/0.002444, allocations: 282.1 kB / 306.4 MB, free: 8.48 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.188/1.188, allocations: 180.9 MB / 0.5298 GB, free: 14.62 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 104.2 kB / 0.7306 GB, free: 38.78 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1482, allocations: 94.15 MB / 0.8225 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.1919/0.34, allocations: 166.7 MB / 0.9853 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.3534, allocations: 7.972 MB / 0.9931 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.3548, allocations: 35.88 kB / 0.9932 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.356, allocations: 412.9 kB / 0.9936 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003808/0.3598, allocations: 1.344 MB / 0.9949 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.3627, allocations: 1.203 MB / 0.996 GB, free: 56 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003263/0.366, allocations: 2.36 MB / 0.9984 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.3675, allocations: 0.9715 MB / 0.9993 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.3688, allocations: 0.8328 MB / 1 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/0.3704, allocations: 0.8221 MB / 1.001 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.3706, allocations: 152 kB / 1.001 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.3729, allocations: 1.162 MB / 1.002 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004874/0.3734, allocations: 438.5 kB / 1.003 GB, free: 9.293 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008217/0.3742, allocations: 0.7736 MB / 1.003 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003508/0.3777, allocations: 2.421 MB / 1.006 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3777, allocations: 0 / 1.006 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3777, allocations: 0 / 1.006 GB, free: 6.086 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.318e-05/0.3778, allocations: 0 / 1.006 GB, free: 6.086 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003543/0.3813, allocations: 1.931 MB / 1.008 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3814, allocations: 8.031 kB / 1.008 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001854/0.3832, allocations: 330.7 kB / 1.008 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.3849, allocations: 1.031 MB / 1.009 GB, free: 2.684 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/0.385, allocations: 82.2 kB / 1.009 GB, free: 2.602 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.3851, allocations: 108 kB / 1.009 GB, free: 2.496 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002011/0.3871, allocations: 1.176 MB / 1.01 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.588e-05/0.3872, allocations: 11.95 kB / 1.01 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.3873, allocations: 43.98 kB / 1.01 GB, free: 1.195 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.492e-05/0.3873, allocations: 42.06 kB / 1.01 GB, free: 1.152 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3514/0.7387, allocations: 1.303 MB / 1.012 GB, free: 190 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/0.7442, allocations: 3.808 MB / 1.015 GB, free: 188.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.7457, allocations: 0.9413 MB / 1.016 GB, free: 188 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005482/0.7462, allocations: 367 kB / 1.017 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 7.936e-05/0.7463, allocations: 36.66 kB / 1.017 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009277/0.7472, allocations: 0.5874 MB / 1.017 GB, free: 187.6 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=102): time 2.545e-06/0.7472, allocations: 1.875 kB / 1.017 GB, free: 187.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=102): time 0.003964/0.7512, allocations: 1.445 MB / 1.019 GB, free: 187 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.7513, allocations: 192.9 kB / 1.019 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.7524, allocations: 0.8403 MB / 1.02 GB, free: 186.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.926e-05/0.7525, allocations: 43.77 kB / 1.02 GB, free: 186.4 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004129/0.7529, allocations: 0.5292 MB / 1.02 GB, free: 186.1 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/0.7532, allocations: 353.7 kB / 1.021 GB, free: 185.8 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/0.7535, allocations: 205.1 kB / 1.021 GB, free: 185.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.649e-05/0.7536, allocations: 343.9 kB / 1.021 GB, free: 185.4 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/0.7543, allocations: 334.8 kB / 1.021 GB, free: 185.3 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/0.755, allocations: 479.3 kB / 1.022 GB, free: 185.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.7563, allocations: 0.7997 MB / 1.023 GB, free: 184.7 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7563, allocations: 1.094 kB / 1.023 GB, free: 184.7 MB / 0.7481 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002451/0.7588, allocations: 1.082 MB / 1.024 GB, free: 184.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.7588, allocations: 5.906 kB / 1.024 GB, free: 184.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7588, allocations: 2.438 kB / 1.024 GB, free: 184.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.7594, allocations: 87.5 kB / 1.024 GB, free: 184.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008902/0.7603, allocations: 216.1 kB / 1.024 GB, free: 184.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.7622, allocations: 1.64 MB / 1.026 GB, free: 182.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.7634, allocations: 116 kB / 1.026 GB, free: 182.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.45e-05/0.7635, allocations: 43.66 kB / 1.026 GB, free: 182.6 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.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 (124): * Single equations (assignments): 123 * 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.0005825/0.7641, allocations: 320.5 kB / 1.026 GB, free: 182.4 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/0.7643, allocations: 119.2 kB / 1.026 GB, free: 182.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/0.7671, allocations: 1.253 MB / 1.027 GB, free: 181.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.7671, allocations: 11.53 kB / 1.027 GB, free: 181.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.7672, allocations: 0 / 1.027 GB, free: 181.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.7672, allocations: 4.297 kB / 1.027 GB, free: 181.8 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.7688, allocations: 1.169 MB / 1.029 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.7688, allocations: 0.5625 kB / 1.029 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009624/0.7697, allocations: 207.8 kB / 1.029 GB, free: 181.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.7702, allocations: 70.66 kB / 1.029 GB, free: 181.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.869e-05/0.7703, allocations: 30.61 kB / 1.029 GB, free: 181.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.7719, allocations: 1.666 MB / 1.03 GB, free: 179.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7719, allocations: 4.438 kB / 1.03 GB, free: 179.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/0.7747, allocations: 1.573 MB / 1.032 GB, free: 178.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004883/0.7752, allocations: 324.7 kB / 1.032 GB, free: 178.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.7754, allocations: 23.5 kB / 1.032 GB, free: 178.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008043/0.7762, allocations: 77.61 kB / 1.032 GB, free: 178.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.7763, allocations: 85.19 kB / 1.032 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.85e-05/0.7764, allocations: 42.98 kB / 1.033 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006244/0.777, allocations: 0.5817 MB / 1.033 GB, free: 178.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.777, allocations: 0 / 1.033 GB, free: 178.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009787/0.778, allocations: 434.3 kB / 1.034 GB, free: 178 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.00175/0.7797, allocations: 0.6211 MB / 1.034 GB, free: 177.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001592/0.7813, allocations: 0.9662 MB / 1.035 GB, free: 177.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7813, allocations: 1.859 kB / 1.035 GB, free: 177.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008105/0.7822, allocations: 0.5681 MB / 1.036 GB, free: 176.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.7838, allocations: 489.5 kB / 1.036 GB, free: 176.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.7869, allocations: 2.475 MB / 1.039 GB, free: 174.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.7873, allocations: 1.161 MB / 1.04 GB, free: 173.6 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007545/0.7881, allocations: 337 kB / 1.04 GB, free: 173.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.7883, allocations: 127.4 kB / 1.04 GB, free: 173.1 MB / 0.7481 GB Notification: Performance of SimCode: time 4.61e-07/0.7883, allocations: 2.078 kB / 1.04 GB, free: 173.1 MB / 0.7481 GB Notification: Performance of Templates: time 0.02669/0.815, allocations: 21.49 MB / 1.061 GB, free: 151.9 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.157808063086122] Failed to read output from testmodel.py, exit status != 0: 0.8220961149781942 0.830998864 0.451058211 Calling exit ...