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.001284/0.001284, 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.001588/0.001588, allocations: 191.7 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.46/1.46, allocations: 225.6 MB / 250.9 MB, free: 13.28 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.002506/0.002506, allocations: 285.3 kB / 306.4 MB, free: 8.461 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.271/1.271, allocations: 180.9 MB / 0.5298 GB, free: 14.69 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.002778/0.002778, allocations: 98.81 kB / 0.7305 GB, free: 38.96 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1886, allocations: 94.16 MB / 0.8225 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0): time 0.007085/0.1957, allocations: 4.968 MB / 0.8273 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1901/0.3859, allocations: 151.2 MB / 0.975 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008827/0.3867, allocations: 15.94 kB / 0.975 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005872/0.3873, allocations: 194.2 kB / 0.9752 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.389, allocations: 0.5463 MB / 0.9757 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.3909, allocations: 0.8506 MB / 0.9765 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.3924, allocations: 1.373 MB / 0.9779 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000689/0.3931, allocations: 409.4 kB / 0.9783 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.3937, allocations: 486.3 kB / 0.9787 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006046/0.3943, allocations: 497.8 kB / 0.9792 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.3944, allocations: 116 kB / 0.9793 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008307/0.3952, allocations: 487.5 kB / 0.9798 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002779/0.3955, allocations: 295 kB / 0.9801 GB, free: 456 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004942/0.396, allocations: 0.5558 MB / 0.9806 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001801/0.3978, allocations: 1.623 MB / 0.9822 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.3978, allocations: 7.938 kB / 0.9822 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3978, allocations: 0 / 0.9822 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.3978, allocations: 3.984 kB / 0.9822 GB, free: 14.25 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.002466/0.4003, allocations: 1.456 MB / 0.9836 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.4003, allocations: 8.031 kB / 0.9836 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/0.4012, allocations: 192.1 kB / 0.9838 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.4024, allocations: 0.7739 MB / 0.9846 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.4025, allocations: 58 kB / 0.9846 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4026, allocations: 84 kB / 0.9847 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.4041, allocations: 0.9114 MB / 0.9856 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.4041, allocations: 0 / 0.9856 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-05/0.4042, allocations: 32 kB / 0.9856 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.4043, allocations: 20 kB / 0.9856 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.4061, allocations: 1.104 MB / 0.9867 GB, free: 9.469 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.004039/0.4101, allocations: 2.733 MB / 0.9894 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.4116, allocations: 0.7417 MB / 0.9901 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005195/0.4121, allocations: 274.6 kB / 0.9904 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.97e-05/0.4122, allocations: 32.61 kB / 0.9904 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008594/0.413, allocations: 488.7 kB / 0.9909 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=78): time 2.014e-06/0.413, allocations: 0 / 0.9909 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=78): time 0.00321/0.4162, allocations: 1.179 MB / 0.992 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.4164, allocations: 192.6 kB / 0.9922 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008304/0.4172, allocations: 0.6332 MB / 0.9928 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/0.4173, allocations: 49.69 kB / 0.9929 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.4176, allocations: 393 kB / 0.9932 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.4178, allocations: 269.8 kB / 0.9935 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002484/0.4181, allocations: 166.5 kB / 0.9937 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.4183, allocations: 390.7 kB / 0.994 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.4188, allocations: 261.9 kB / 0.9943 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006698/0.4195, allocations: 371.9 kB / 0.9946 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.4206, allocations: 0.5925 MB / 0.9952 GB, free: 488 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4206, allocations: 4 kB / 0.9952 GB, free: 484 kB / 0.7325 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002008/0.4227, allocations: 0.8531 MB / 0.9961 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4227, allocations: 8 kB / 0.9961 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.4227, allocations: 3.984 kB / 0.9961 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005799/0.4233, allocations: 80.89 kB / 0.9961 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006471/0.4239, allocations: 163.7 kB / 0.9963 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.4261, allocations: 1.63 MB / 0.9979 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007174/0.4269, allocations: 90.55 kB / 0.998 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/0.427, allocations: 39.97 kB / 0.998 GB, free: 13.45 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.0004713/0.4274, allocations: 267.4 kB / 0.9983 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.4276, allocations: 91.42 kB / 0.9984 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.4301, allocations: 1.042 MB / 0.9994 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.4301, allocations: 12 kB / 0.9994 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4301, allocations: 3.938 kB / 0.9994 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.4301, allocations: 3.984 kB / 0.9994 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.4313, allocations: 0.8841 MB / 1 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.4313, allocations: 4 kB / 1 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/0.4319, allocations: 143.8 kB / 1 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00046/0.4323, allocations: 68.8 kB / 1 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.4324, allocations: 27.97 kB / 1 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.4344, allocations: 1.658 MB / 1.002 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4344, allocations: 0 / 1.002 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.4365, allocations: 0.9128 MB / 1.003 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.437, allocations: 272.2 kB / 1.003 GB, free: 7.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.4371, allocations: 23.92 kB / 1.003 GB, free: 7.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/0.4378, allocations: 67.88 kB / 1.003 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.4379, allocations: 68.91 kB / 1.003 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.603e-05/0.438, allocations: 39.91 kB / 1.003 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006515/0.4387, allocations: 459 kB / 1.004 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.4387, allocations: 4 kB / 1.004 GB, free: 7.172 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009116/0.4396, allocations: 319.2 kB / 1.004 GB, free: 6.859 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.001935/0.4415, allocations: 0.5971 MB / 1.005 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001729/0.4432, allocations: 0.7923 MB / 1.006 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4432, allocations: 0 / 1.006 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009575/0.4442, allocations: 480.3 kB / 1.006 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.4454, allocations: 314.8 kB / 1.006 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.4485, allocations: 1.694 MB / 1.008 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006843/0.4491, allocations: 1.019 MB / 1.009 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007444/0.4499, allocations: 266.5 kB / 1.009 GB, free: 1.844 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.4501, allocations: 107.4 kB / 1.009 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of SimCode: time 4.3e-07/0.4501, allocations: 0 / 1.009 GB, free: 1.738 MB / 0.7481 GB Notification: Performance of Templates: time 0.4508/0.901, allocations: 15.47 MB / 1.024 GB, free: 183.9 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.532540292944759] Failed to read output from testmodel.py, exit status != 0: 0.9090864015743136 0.918197575 0.518219381 Calling exit ...