Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.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.0006954/0.0006954, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007237/0.0007237, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8161/0.8161, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001455/0.001455, allocations: 230.3 kB / 260.2 MB, free: 13.03 MB / 250.7 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 0.6547/0.6547, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.7 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.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") translateModel(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.6475 GB, free: 1.395 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.779e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.2542/0.2542, allocations: 4.649 MB / 0.652 GB, free: 55.03 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1185/0.3727, allocations: 132.8 MB / 0.7817 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009466/0.3736, allocations: 23.81 kB / 0.7817 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005345/0.3741, allocations: 210.1 kB / 0.7819 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.3757, allocations: 0.596 MB / 0.7825 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.3775, allocations: 0.876 MB / 0.7833 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001059/0.3786, allocations: 1.491 MB / 0.7848 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005415/0.3791, allocations: 396.9 kB / 0.7852 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006448/0.3798, allocations: 0.7406 MB / 0.7859 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.3802, allocations: 410.8 kB / 0.7863 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.635e-05/0.3802, allocations: 120 kB / 0.7864 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007695/0.381, allocations: 0.4915 MB / 0.7869 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.3812, allocations: 318.9 kB / 0.7872 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.3814, allocations: 395 kB / 0.7876 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.3829, allocations: 1.803 MB / 0.7893 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3829, allocations: 3.938 kB / 0.7893 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3829, allocations: 0 / 0.7893 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.161e-05/0.383, allocations: 0 / 0.7893 GB, free: 9.535 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001754/0.3847, allocations: 1.428 MB / 0.7907 GB, free: 8.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3848, allocations: 9.938 kB / 0.7907 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007615/0.3855, allocations: 240 kB / 0.791 GB, free: 7.828 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007868/0.3863, allocations: 0.722 MB / 0.7917 GB, free: 7.082 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.3863, allocations: 70.12 kB / 0.7917 GB, free: 7.016 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.3864, allocations: 88 kB / 0.7918 GB, free: 6.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.3875, allocations: 1.193 MB / 0.793 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.3875, allocations: 0 / 0.793 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.3876, allocations: 40 kB / 0.793 GB, free: 5.594 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3876, allocations: 20.66 kB / 0.793 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.3887, allocations: 1.075 MB / 0.7941 GB, free: 4.5 MB / 0.6198 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.002648/0.3914, allocations: 2.137 MB / 0.7962 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.3926, allocations: 0.7645 MB / 0.7969 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.3929, allocations: 287.7 kB / 0.7972 GB, free: 1.266 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.393, allocations: 28.58 kB / 0.7972 GB, free: 1.238 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006409/0.3936, allocations: 0.5895 MB / 0.7978 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=82): time 3.257e-06/0.3936, allocations: 0 / 0.7978 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of matching and sorting (n=82): time 0.001997/0.3956, allocations: 1.134 MB / 0.7989 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.848e-05/0.3957, allocations: 188.6 kB / 0.7991 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005873/0.3963, allocations: 0.6174 MB / 0.7997 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.055e-05/0.3964, allocations: 45.69 kB / 0.7997 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.3966, allocations: 417 kB / 0.8001 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001616/0.3968, allocations: 273.7 kB / 0.8004 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001877/0.397, allocations: 170.6 kB / 0.8006 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3971, allocations: 386.7 kB / 0.8009 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003353/0.3975, allocations: 273.8 kB / 0.8012 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000447/0.3979, allocations: 491.6 kB / 0.8017 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.3986, allocations: 0.619 MB / 0.8023 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3986, allocations: 0 / 0.8023 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001219/0.3999, allocations: 0.8609 MB / 0.8031 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.3999, allocations: 14.09 kB / 0.8031 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.3999, allocations: 0 / 0.8031 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003419/0.4002, allocations: 85.98 kB / 0.8032 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.4006, allocations: 179.6 kB / 0.8034 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/0.4024, allocations: 1.491 MB / 0.8048 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004823/0.4029, allocations: 94.23 kB / 0.8049 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.014e-05/0.4029, allocations: 35.97 kB / 0.8049 GB, free: 9.035 MB / 0.6355 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 (97): * Single equations (assignments): 96 * 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.0004919/0.4034, allocations: 268.3 kB / 0.8052 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.4035, allocations: 95.36 kB / 0.8053 GB, free: 8.672 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.405, allocations: 1.063 MB / 0.8063 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.405, allocations: 8 kB / 0.8063 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.405, allocations: 0 / 0.8063 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.405, allocations: 3.984 kB / 0.8063 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006264/0.4057, allocations: 0.6498 MB / 0.807 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.4057, allocations: 0 / 0.807 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/0.406, allocations: 151.8 kB / 0.8071 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002234/0.4062, allocations: 82.53 kB / 0.8072 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.4062, allocations: 32.53 kB / 0.8072 GB, free: 6.645 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.4073, allocations: 1.521 MB / 0.8087 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4073, allocations: 0 / 0.8087 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.409, allocations: 1.34 MB / 0.81 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.4092, allocations: 195.1 kB / 0.8102 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.29e-05/0.4093, allocations: 20.06 kB / 0.8102 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.4096, allocations: 66.59 kB / 0.8103 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.4097, allocations: 80.84 kB / 0.8104 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.535e-05/0.4097, allocations: 27.98 kB / 0.8104 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005044/0.4102, allocations: 451 kB / 0.8108 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4102, allocations: 0 / 0.8108 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006342/0.4109, allocations: 343 kB / 0.8112 GB, free: 2.5 MB / 0.6355 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 (93): * Single equations (assignments): 87 * 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.00105/0.4119, allocations: 0.662 MB / 0.8118 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.4129, allocations: 0.804 MB / 0.8126 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.4129, allocations: 0 / 0.8126 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.4134, allocations: 0.4923 MB / 0.8131 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.4141, allocations: 312.1 kB / 0.8134 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.4161, allocations: 1.793 MB / 0.8151 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.4164, allocations: 456.5 kB / 0.8156 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.4166, allocations: 120.4 kB / 0.8157 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.4166, allocations: 0 / 0.8157 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.01586/0.4324, allocations: 19.35 MB / 0.8346 GB, free: 10.77 MB / 0.6667 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.sim & ./BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.6732294308021665] Failed to read output from testmodel.py, exit status != 0: 0.4383893059566617 0.445603432 0.061034573 Calling exit ...