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.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.001255/0.001255, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001334/0.001334, allocations: 215.1 kB / 22.25 MB, free: 5.262 MB / 14.72 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.418/1.418, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.002641/0.002641, allocations: 298.9 kB / 312.7 MB, free: 2.605 MB / 238.1 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 1.233/1.233, allocations: 180.6 MB / 0.5369 GB, free: 14.63 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 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.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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002866/0.002866, allocations: 105.7 kB / 0.74 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1778, allocations: 95.38 MB / 0.8331 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007458/0.1853, allocations: 4.745 MB / 0.8378 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1693/0.3546, allocations: 132.7 MB / 0.9674 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.3556, allocations: 23.81 kB / 0.9674 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006375/0.3563, allocations: 210.1 kB / 0.9676 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.358, allocations: 0.5812 MB / 0.9682 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.36, allocations: 0.876 MB / 0.969 GB, free: 12.14 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001529/0.3616, allocations: 1.475 MB / 0.9705 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007208/0.3623, allocations: 410.8 kB / 0.9709 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006655/0.363, allocations: 0.5256 MB / 0.9714 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006233/0.3636, allocations: 497.6 kB / 0.9719 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001775/0.3638, allocations: 124 kB / 0.972 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009538/0.3647, allocations: 0.4957 MB / 0.9725 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002943/0.365, allocations: 311 kB / 0.9728 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.3655, allocations: 489.6 kB / 0.9732 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.3675, allocations: 1.747 MB / 0.9749 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3675, allocations: 0 / 0.9749 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3675, allocations: 0 / 0.9749 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.3675, allocations: 0 / 0.9749 GB, free: 6.066 MB / 0.7169 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.00256/0.37, allocations: 1.486 MB / 0.9764 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3701, allocations: 9.344 kB / 0.9764 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.3715, allocations: 240 kB / 0.9766 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.3728, allocations: 0.7298 MB / 0.9773 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.3728, allocations: 66 kB / 0.9774 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.373, allocations: 87.98 kB / 0.9775 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.3747, allocations: 1.205 MB / 0.9787 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.3748, allocations: 0 / 0.9787 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.035e-05/0.3749, allocations: 43.98 kB / 0.9787 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.3749, allocations: 20 kB / 0.9787 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001807/0.3767, allocations: 1.093 MB / 0.9798 GB, free: 0.9258 MB / 0.7169 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.4194/0.796, allocations: 2.17 MB / 0.9819 GB, free: 149 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001609/0.7976, allocations: 0.7939 MB / 0.9827 GB, free: 149 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/0.7982, allocations: 296.1 kB / 0.983 GB, free: 149 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.053e-05/0.7983, allocations: 25.91 kB / 0.983 GB, free: 149 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009396/0.7992, allocations: 0.6069 MB / 0.9836 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=85): time 3.126e-06/0.7992, allocations: 0 / 0.9836 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=85): time 0.003163/0.8024, allocations: 1.179 MB / 0.9847 GB, free: 148.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.8024, allocations: 190.7 kB / 0.9849 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007895/0.8032, allocations: 0.6309 MB / 0.9855 GB, free: 147.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.67e-05/0.8033, allocations: 43.02 kB / 0.9856 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.8036, allocations: 429.6 kB / 0.986 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.8038, allocations: 302.4 kB / 0.9863 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.804, allocations: 163.7 kB / 0.9864 GB, free: 147.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8041, allocations: 386.9 kB / 0.9868 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005369/0.8047, allocations: 278.2 kB / 0.9871 GB, free: 146.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.8053, allocations: 0.4951 MB / 0.9875 GB, free: 146.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009978/0.8063, allocations: 0.6294 MB / 0.9881 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8063, allocations: 3.938 kB / 0.9882 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.00173/0.808, allocations: 0.8808 MB / 0.989 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.808, allocations: 11.34 kB / 0.989 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.8081, allocations: 0.5156 kB / 0.989 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.8086, allocations: 86.94 kB / 0.9891 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/0.8092, allocations: 171.5 kB / 0.9893 GB, free: 145.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.8109, allocations: 1.507 MB / 0.9907 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006317/0.8115, allocations: 87.73 kB / 0.9908 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-05/0.8116, allocations: 36.59 kB / 0.9909 GB, free: 144.4 MB / 0.7169 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.0003423/0.812, allocations: 275.8 kB / 0.9911 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.8121, allocations: 93.5 kB / 0.9912 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.8142, allocations: 1.085 MB / 0.9923 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.8142, allocations: 10.69 kB / 0.9923 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.8142, allocations: 2.938 kB / 0.9923 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.8143, allocations: 4.922 kB / 0.9923 GB, free: 143.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009855/0.8152, allocations: 0.6668 MB / 0.9929 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/0.8152, allocations: 0 / 0.9929 GB, free: 143.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/0.8159, allocations: 163.5 kB / 0.9931 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004253/0.8163, allocations: 74.39 kB / 0.9932 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.066e-05/0.8164, allocations: 25.25 kB / 0.9932 GB, free: 143.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.818, allocations: 1.519 MB / 0.9947 GB, free: 142 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.818, allocations: 5.75 kB / 0.9947 GB, free: 142 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/0.821, allocations: 1.371 MB / 0.996 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004506/0.8214, allocations: 202.6 kB / 0.9962 GB, free: 141.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.8215, allocations: 19 kB / 0.9962 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/0.8221, allocations: 69.14 kB / 0.9963 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.8223, allocations: 75.8 kB / 0.9964 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.396e-05/0.8224, allocations: 41.5 kB / 0.9964 GB, free: 141.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007459/0.8232, allocations: 453.5 kB / 0.9968 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8232, allocations: 0 / 0.9968 GB, free: 141.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001233/0.8244, allocations: 344.8 kB / 0.9972 GB, free: 141.1 MB / 0.7169 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.002189/0.8266, allocations: 0.647 MB / 0.9978 GB, free: 140.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.8286, allocations: 0.8185 MB / 0.9986 GB, free: 140.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.8286, allocations: 8.406 kB / 0.9986 GB, free: 140.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.8297, allocations: 0.5017 MB / 0.9991 GB, free: 140.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.8309, allocations: 306.4 kB / 0.9994 GB, free: 140.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003547/0.8344, allocations: 1.889 MB / 1.001 GB, free: 139.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/0.835, allocations: 459.7 kB / 1.002 GB, free: 139.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008484/0.8358, allocations: 264.8 kB / 1.002 GB, free: 139 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.8361, allocations: 112 kB / 1.002 GB, free: 139 MB / 0.7169 GB Notification: Performance of SimCode: time 8.32e-07/0.8361, allocations: 0 / 1.002 GB, free: 139 MB / 0.7169 GB Notification: Performance of Templates: time 0.02314/0.8592, allocations: 16.68 MB / 1.018 GB, free: 126.2 MB / 0.7169 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.250396944582462] Failed to read output from testmodel.py, exit status != 0: 0.8664059601724148 0.87575863 0.5060522630000001 Calling exit ...