Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.001258/0.001258, 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.001297/0.001297, allocations: 189 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.381/1.381, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.002417/0.002417, allocations: 286.8 kB / 306.4 MB, free: 8.469 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.183/1.183, allocations: 180.9 MB / 0.5298 GB, free: 14.55 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.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002719/0.002719, allocations: 104.4 kB / 0.7305 GB, free: 38.89 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.154, allocations: 94.17 MB / 0.8225 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007218/0.1613, allocations: 5.274 MB / 0.8277 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.17/0.3312, allocations: 151.2 MB / 0.9754 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006706/0.3319, allocations: 19.88 kB / 0.9754 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005636/0.3325, allocations: 202.1 kB / 0.9756 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.334, allocations: 0.5687 MB / 0.9761 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.3359, allocations: 0.8706 MB / 0.977 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.3375, allocations: 1.455 MB / 0.9784 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007156/0.3382, allocations: 422.2 kB / 0.9788 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006215/0.3388, allocations: 0.4983 MB / 0.9793 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.3395, allocations: 0.5328 MB / 0.9798 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.3397, allocations: 120 kB / 0.9799 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008827/0.3405, allocations: 491.6 kB / 0.9804 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/0.3408, allocations: 307 kB / 0.9807 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005523/0.3414, allocations: 0.5946 MB / 0.9813 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.3435, allocations: 1.693 MB / 0.9829 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3435, allocations: 0 / 0.9829 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3435, allocations: 0 / 0.9829 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.3435, allocations: 0 / 0.9829 GB, free: 13.52 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.00274/0.3462, allocations: 1.53 MB / 0.9844 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3463, allocations: 16.03 kB / 0.9844 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009138/0.3472, allocations: 192 kB / 0.9846 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.3485, allocations: 0.7942 MB / 0.9854 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.447e-05/0.3486, allocations: 66 kB / 0.9854 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.3487, allocations: 87.94 kB / 0.9855 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.3503, allocations: 0.9535 MB / 0.9865 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.3504, allocations: 0 / 0.9865 GB, free: 9.746 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.06e-05/0.3505, allocations: 40 kB / 0.9865 GB, free: 9.707 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.115e-05/0.3505, allocations: 24 kB / 0.9865 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/0.3524, allocations: 1.136 MB / 0.9876 GB, free: 8.551 MB / 0.7325 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.004461/0.3569, allocations: 2.787 MB / 0.9904 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.3585, allocations: 0.7928 MB / 0.9911 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005809/0.3591, allocations: 298.7 kB / 0.9914 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.501e-05/0.3592, allocations: 36.67 kB / 0.9914 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009154/0.3601, allocations: 0.4984 MB / 0.9919 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=85): time 2.334e-06/0.3601, allocations: 0 / 0.9919 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=85): time 0.003392/0.3635, allocations: 1.247 MB / 0.9932 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.3636, allocations: 192.9 kB / 0.9933 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008789/0.3645, allocations: 0.6605 MB / 0.994 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.417e-05/0.3646, allocations: 41.7 kB / 0.994 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00037/0.365, allocations: 417.1 kB / 0.9944 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.3652, allocations: 293.5 kB / 0.9947 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.3655, allocations: 174.6 kB / 0.9949 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.3657, allocations: 386.8 kB / 0.9952 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005648/0.3663, allocations: 281.8 kB / 0.9955 GB, free: 240 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/0.3669, allocations: 375.1 kB / 0.9959 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.3682, allocations: 0.6359 MB / 0.9965 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3682, allocations: 0 / 0.9965 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002149/0.3703, allocations: 0.8882 MB / 0.9973 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3703, allocations: 8 kB / 0.9974 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3703, allocations: 0 / 0.9974 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/0.371, allocations: 88.8 kB / 0.9974 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007135/0.3717, allocations: 179.7 kB / 0.9976 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.3738, allocations: 1.63 MB / 0.9992 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/0.3746, allocations: 87.55 kB / 0.9993 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/0.3747, allocations: 44.03 kB / 0.9993 GB, free: 12.13 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (100): * Single equations (assignments): 99 * 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.0005092/0.3752, allocations: 271.5 kB / 0.9996 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.3754, allocations: 99.38 kB / 0.9997 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.3779, allocations: 1.086 MB / 1.001 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.3779, allocations: 12 kB / 1.001 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3779, allocations: 0 / 1.001 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3779, allocations: 3.984 kB / 1.001 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.3792, allocations: 0.927 MB / 1.002 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3792, allocations: 0 / 1.002 GB, free: 9.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006785/0.3799, allocations: 163.7 kB / 1.002 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004646/0.3803, allocations: 68.78 kB / 1.002 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.3804, allocations: 23.98 kB / 1.002 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.3825, allocations: 1.67 MB / 1.004 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3825, allocations: 0 / 1.004 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/0.3855, allocations: 1.375 MB / 1.005 GB, free: 6.195 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004535/0.3859, allocations: 280.2 kB / 1.005 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.3861, allocations: 23.94 kB / 1.005 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.3867, allocations: 62.75 kB / 1.005 GB, free: 5.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.3869, allocations: 72.89 kB / 1.005 GB, free: 5.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.43e-05/0.3869, allocations: 39.97 kB / 1.005 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006185/0.3876, allocations: 471.1 kB / 1.006 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.3876, allocations: 0 / 1.006 GB, free: 5.258 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008441/0.3884, allocations: 347.1 kB / 1.006 GB, free: 4.918 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.001827/0.3902, allocations: 0.6021 MB / 1.007 GB, free: 4.504 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001789/0.392, allocations: 0.8312 MB / 1.008 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.392, allocations: 0 / 1.008 GB, free: 3.656 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009616/0.393, allocations: 0.5042 MB / 1.008 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.3942, allocations: 304.5 kB / 1.008 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003473/0.3977, allocations: 1.873 MB / 1.01 GB, free: 0.9609 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3113/0.709, allocations: 1.037 MB / 1.011 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000922/0.7099, allocations: 267.3 kB / 1.011 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.7102, allocations: 107 kB / 1.012 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of SimCode: time 9.32e-07/0.7102, allocations: 0 / 1.012 GB, free: 187.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.02617/0.7363, allocations: 15.92 MB / 1.027 GB, free: 182.8 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.90801050607115] Failed to read output from testmodel.py, exit status != 0: 0.7434528400190175 0.752034723 0.406505413 Calling exit ...