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.0018/0.0018, allocations: 115.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.00209/0.00209, allocations: 193.7 kB / 22.17 MB, free: 5.652 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.571/1.571, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.002589/0.002589, allocations: 276.6 kB / 306.4 MB, free: 8.492 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.349/1.349, allocations: 180.9 MB / 0.5298 GB, free: 14.67 MB / 382.1 MB " [Timeout remaining time 178] 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.002779/0.002779, allocations: 99.7 kB / 0.7306 GB, free: 39.17 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2212, allocations: 94.16 MB / 0.8225 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.007827/0.229, allocations: 5.268 MB / 0.8277 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1967/0.4257, allocations: 151.3 MB / 0.9754 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.4268, allocations: 15.94 kB / 0.9754 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007075/0.4275, allocations: 198.1 kB / 0.9756 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.4296, allocations: 0.5698 MB / 0.9761 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.4318, allocations: 0.8717 MB / 0.977 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002019/0.4339, allocations: 1.447 MB / 0.9784 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008382/0.4347, allocations: 434.2 kB / 0.9788 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008703/0.4356, allocations: 0.5021 MB / 0.9793 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007609/0.4363, allocations: 0.5289 MB / 0.9798 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.4365, allocations: 120 kB / 0.9799 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.4376, allocations: 495.5 kB / 0.9804 GB, free: 88 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.4379, allocations: 303.2 kB / 0.9807 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005778/0.4385, allocations: 0.5907 MB / 0.9813 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002326/0.4408, allocations: 1.696 MB / 0.9829 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4408, allocations: 0 / 0.9829 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4408, allocations: 4 kB / 0.9829 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.4408, allocations: 0 / 0.9829 GB, free: 13.49 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.00301/0.4438, allocations: 1.53 MB / 0.9844 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.4439, allocations: 8.031 kB / 0.9844 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009766/0.4448, allocations: 200 kB / 0.9846 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.4462, allocations: 0.7903 MB / 0.9854 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.758e-05/0.4463, allocations: 66 kB / 0.9854 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.4464, allocations: 92 kB / 0.9855 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.4482, allocations: 0.9496 MB / 0.9865 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.4482, allocations: 4 kB / 0.9865 GB, free: 9.711 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.046e-05/0.4483, allocations: 36 kB / 0.9865 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.163e-05/0.4483, allocations: 20 kB / 0.9865 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/0.4503, allocations: 1.139 MB / 0.9876 GB, free: 8.52 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.004786/0.4551, allocations: 2.791 MB / 0.9904 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.4568, allocations: 0.7928 MB / 0.9911 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.4573, allocations: 290.7 kB / 0.9914 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.494e-05/0.4574, allocations: 36.67 kB / 0.9914 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000966/0.4584, allocations: 0.5062 MB / 0.9919 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=85): time 6.462e-06/0.4584, allocations: 3.984 kB / 0.9919 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=85): time 0.003536/0.4619, allocations: 1.251 MB / 0.9932 GB, free: 2.684 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001388/0.4621, allocations: 188.9 kB / 0.9933 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009289/0.463, allocations: 0.6528 MB / 0.994 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.331e-05/0.4631, allocations: 45.7 kB / 0.994 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003939/0.4635, allocations: 425 kB / 0.9944 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.4637, allocations: 297.5 kB / 0.9947 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.464, allocations: 170.6 kB / 0.9949 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002081/0.4642, allocations: 386.8 kB / 0.9952 GB, free: 480 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000573/0.4648, allocations: 277.8 kB / 0.9955 GB, free: 204 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.4655, allocations: 379.2 kB / 0.9959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.4668, allocations: 0.632 MB / 0.9965 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4668, allocations: 4 kB / 0.9965 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002128/0.4689, allocations: 0.892 MB / 0.9974 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4689, allocations: 10.59 kB / 0.9974 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.4689, allocations: 4 kB / 0.9974 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006066/0.4695, allocations: 80.78 kB / 0.9975 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007238/0.4702, allocations: 167.8 kB / 0.9976 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.4726, allocations: 1.63 MB / 0.9992 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008774/0.4734, allocations: 91.58 kB / 0.9993 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.4736, allocations: 39.97 kB / 0.9993 GB, free: 12.1 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.0005734/0.4741, allocations: 271.6 kB / 0.9996 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002091/0.4743, allocations: 99.38 kB / 0.9997 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.4769, allocations: 1.086 MB / 1.001 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4769, allocations: 8 kB / 1.001 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4769, allocations: 0 / 1.001 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.4769, allocations: 7.984 kB / 1.001 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.4782, allocations: 0.9347 MB / 1.002 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4782, allocations: 0 / 1.002 GB, free: 9.625 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006789/0.4788, allocations: 159.7 kB / 1.002 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/0.4793, allocations: 80.72 kB / 1.002 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.4794, allocations: 23.98 kB / 1.002 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002116/0.4815, allocations: 1.658 MB / 1.004 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4815, allocations: 0 / 1.004 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002924/0.4844, allocations: 1.371 MB / 1.005 GB, free: 6.168 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005267/0.4849, allocations: 284.2 kB / 1.005 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4851, allocations: 19.94 kB / 1.005 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006474/0.4857, allocations: 64 kB / 1.005 GB, free: 5.789 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.4859, allocations: 76.89 kB / 1.005 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/0.486, allocations: 35.97 kB / 1.005 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007714/0.4867, allocations: 471 kB / 1.006 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.4867, allocations: 0 / 1.006 GB, free: 5.227 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009704/0.4877, allocations: 343.1 kB / 1.006 GB, free: 4.891 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.002008/0.4897, allocations: 0.6048 MB / 1.007 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001948/0.4917, allocations: 0.8275 MB / 1.008 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.4917, allocations: 4 kB / 1.008 GB, free: 3.621 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4927, allocations: 0.4924 MB / 1.008 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.4941, allocations: 310.9 kB / 1.008 GB, free: 2.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00374/0.4978, allocations: 1.873 MB / 1.01 GB, free: 0.9375 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3945/0.8924, allocations: 1.044 MB / 1.011 GB, free: 187.4 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000932/0.8933, allocations: 265.7 kB / 1.011 GB, free: 187.4 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.8936, allocations: 109.8 kB / 1.012 GB, free: 187.4 MB / 0.7481 GB Notification: Performance of SimCode: time 1.482e-06/0.8936, allocations: 0 / 1.012 GB, free: 187.4 MB / 0.7481 GB Notification: Performance of Templates: time 0.02814/0.9217, allocations: 15.92 MB / 1.027 GB, free: 182.5 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.849146110005677] Failed to read output from testmodel.py, exit status != 0: 0.9295342112891376 0.938110813 0.49507837000000005 Calling exit ...