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.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.001483/0.001483, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001467/0.001467, allocations: 189 kB / 22.22 MB, free: 5.105 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.343/1.343, allocations: 225.6 MB / 251 MB, free: 13.01 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.002416/0.002416, allocations: 294 kB / 306.5 MB, free: 8.328 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.214/1.214, allocations: 180.9 MB / 0.53 GB, free: 14.48 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.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 0.002678/0.002678, allocations: 107.5 kB / 0.7308 GB, free: 38.66 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1563, allocations: 94.2 MB / 0.8228 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.006621/0.1629, allocations: 4.973 MB / 0.8277 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1804/0.3434, allocations: 151.2 MB / 0.9753 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007079/0.3441, allocations: 23.81 kB / 0.9753 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006145/0.3447, allocations: 190.2 kB / 0.9755 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.3462, allocations: 0.5502 MB / 0.976 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.3481, allocations: 0.8599 MB / 0.9769 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.3496, allocations: 1.377 MB / 0.9782 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006931/0.3503, allocations: 409.9 kB / 0.9786 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006218/0.3509, allocations: 494.3 kB / 0.9791 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005846/0.3515, allocations: 0.4901 MB / 0.9796 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.3516, allocations: 116 kB / 0.9797 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009102/0.3526, allocations: 491.5 kB / 0.9802 GB, free: 88 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002997/0.3529, allocations: 295.2 kB / 0.9804 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.3534, allocations: 0.5519 MB / 0.981 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.3553, allocations: 1.626 MB / 0.9826 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3553, allocations: 4 kB / 0.9826 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3553, allocations: 0 / 0.9826 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3553, allocations: 0 / 0.9826 GB, free: 13.61 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002489/0.3578, allocations: 1.38 MB / 0.9839 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3578, allocations: 12.03 kB / 0.9839 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009021/0.3587, allocations: 188.1 kB / 0.9841 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.3599, allocations: 0.7018 MB / 0.9848 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.36, allocations: 62 kB / 0.9848 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.3601, allocations: 80 kB / 0.9849 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.3617, allocations: 0.9075 MB / 0.9858 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3617, allocations: 3.938 kB / 0.9858 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/0.3618, allocations: 39.94 kB / 0.9859 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.3618, allocations: 27.92 kB / 0.9859 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/0.3636, allocations: 1.1 MB / 0.987 GB, free: 9 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.004148/0.3677, allocations: 2.695 MB / 0.9896 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.3692, allocations: 0.7306 MB / 0.9903 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.3697, allocations: 270.6 kB / 0.9906 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.689e-05/0.3698, allocations: 36.59 kB / 0.9906 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000855/0.3707, allocations: 492.6 kB / 0.9911 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=78): time 4.458e-06/0.3707, allocations: 3.984 kB / 0.9911 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78): time 0.003231/0.3739, allocations: 1.096 MB / 0.9921 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.374, allocations: 196.5 kB / 0.9923 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008399/0.3749, allocations: 0.6332 MB / 0.9929 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.619e-05/0.375, allocations: 41.7 kB / 0.993 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.3753, allocations: 405 kB / 0.9934 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.3755, allocations: 261.8 kB / 0.9936 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.3758, allocations: 166.5 kB / 0.9938 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.376, allocations: 394.7 kB / 0.9942 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/0.3765, allocations: 265.8 kB / 0.9944 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/0.3772, allocations: 356 kB / 0.9947 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.3783, allocations: 0.6042 MB / 0.9953 GB, free: 156 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3783, allocations: 3.938 kB / 0.9953 GB, free: 152 kB / 0.7325 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002026/0.3804, allocations: 0.8492 MB / 0.9962 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3804, allocations: 12.12 kB / 0.9962 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.3804, allocations: 0 / 0.9962 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006153/0.381, allocations: 76.78 kB / 0.9963 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.3816, allocations: 171.6 kB / 0.9964 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.3838, allocations: 1.519 MB / 0.9979 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000723/0.3845, allocations: 87.5 kB / 0.998 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.847e-05/0.3846, allocations: 35.98 kB / 0.998 GB, free: 13.27 MB / 0.7481 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.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 (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.0004656/0.3851, allocations: 272.7 kB / 0.9983 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.3852, allocations: 95.38 kB / 0.9984 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.3876, allocations: 1.035 MB / 0.9994 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3876, allocations: 12 kB / 0.9994 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3876, allocations: 7.875 kB / 0.9994 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.3876, allocations: 3.984 kB / 0.9994 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.3887, allocations: 0.8481 MB / 1 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3887, allocations: 3.938 kB / 1 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.3892, allocations: 143.8 kB / 1 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.3897, allocations: 76.78 kB / 1 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.008e-05/0.3897, allocations: 23.98 kB / 1 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.3917, allocations: 1.559 MB / 1.002 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3917, allocations: 0 / 1.002 GB, free: 9.008 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.3937, allocations: 0.9127 MB / 1.003 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/0.3941, allocations: 199.1 kB / 1.003 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.3942, allocations: 24 kB / 1.003 GB, free: 7.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006067/0.3948, allocations: 67.92 kB / 1.003 GB, free: 7.793 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.3949, allocations: 64.88 kB / 1.003 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.351e-05/0.395, allocations: 43.91 kB / 1.003 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005928/0.3956, allocations: 455 kB / 1.004 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.3956, allocations: 0 / 1.004 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008792/0.3965, allocations: 331.1 kB / 1.004 GB, free: 6.918 MB / 0.7481 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.001879/0.3984, allocations: 0.6015 MB / 1.005 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.4, allocations: 0.7882 MB / 1.005 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4001, allocations: 8.25 kB / 1.005 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009143/0.401, allocations: 484.2 kB / 1.006 GB, free: 5.195 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.4021, allocations: 305.5 kB / 1.006 GB, free: 4.926 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.4051, allocations: 1.687 MB / 1.008 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.4058, allocations: 1.023 MB / 1.009 GB, free: 2.164 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007307/0.4065, allocations: 262.5 kB / 1.009 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.4068, allocations: 107.4 kB / 1.009 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of SimCode: time 7.62e-07/0.4068, allocations: 0 / 1.009 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of Templates: time 0.3542/0.761, allocations: 15.69 MB / 1.024 GB, free: 183.2 MB / 0.7481 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.918201111257076] Failed to read output from testmodel.py, exit status != 0: 0.7681015431880951 0.7769263829999999 0.419585293 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc7328257b0>