Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.001492/0.001492, allocations: 112 kB / 17.96 MB, free: 4.039 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.001545/0.001545, allocations: 201.4 kB / 21.22 MB, free: 0.793 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.42/1.42, allocations: 225.6 MB / 249.9 MB, free: 13.36 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.003242/0.003242, allocations: 289.5 kB / 305.4 MB, free: 8.578 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.233/1.233, allocations: 180.9 MB / 0.5288 GB, free: 14.59 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: "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002756/0.002756, allocations: 99.75 kB / 0.7289 GB, free: 39.38 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1762, allocations: 94.16 MB / 0.8208 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.208/0.3842, allocations: 166.7 MB / 0.9837 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.3984, allocations: 7.949 MB / 0.9914 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002019/0.4004, allocations: 35.81 kB / 0.9915 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.402, allocations: 412.9 kB / 0.9918 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005308/0.4073, allocations: 1.344 MB / 0.9932 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.4107, allocations: 1.202 MB / 0.9943 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003743/0.4144, allocations: 2.364 MB / 0.9966 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001714/0.4161, allocations: 0.9676 MB / 0.9976 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.4175, allocations: 0.8329 MB / 0.9984 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.4192, allocations: 0.81 MB / 0.9992 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.4195, allocations: 156 kB / 0.9993 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.4222, allocations: 1.162 MB / 1 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000565/0.4227, allocations: 438.5 kB / 1.001 GB, free: 9.953 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009696/0.4237, allocations: 0.7813 MB / 1.002 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003664/0.4274, allocations: 2.421 MB / 1.004 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4274, allocations: 0 / 1.004 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4274, allocations: 0 / 1.004 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.455e-05/0.4274, allocations: 0 / 1.004 GB, free: 6.738 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003786/0.4312, allocations: 1.939 MB / 1.006 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4312, allocations: 8.031 kB / 1.006 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/0.4315, allocations: 165 kB / 1.006 GB, free: 4.555 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.4334, allocations: 338.7 kB / 1.006 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.4352, allocations: 1.035 MB / 1.007 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.92e-05/0.4352, allocations: 82.19 kB / 1.007 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000162/0.4354, allocations: 112 kB / 1.008 GB, free: 2.953 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.4376, allocations: 1.176 MB / 1.009 GB, free: 1.707 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.4376, allocations: 4 kB / 1.009 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.4377, allocations: 48 kB / 1.009 GB, free: 1.656 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-05/0.4378, allocations: 42.06 kB / 1.009 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.44, allocations: 1.312 MB / 1.01 GB, free: 300 kB / 0.7481 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.4244/0.8644, allocations: 3.804 MB / 1.014 GB, free: 188.4 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003261/0.8676, allocations: 0.9347 MB / 1.015 GB, free: 188.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.8688, allocations: 372.8 kB / 1.015 GB, free: 188.2 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.8689, allocations: 37.7 kB / 1.015 GB, free: 188.2 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/0.8707, allocations: 0.5845 MB / 1.016 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=102): time 7.705e-06/0.8707, allocations: 0 / 1.016 GB, free: 187.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=102): time 0.006569/0.8773, allocations: 1.451 MB / 1.017 GB, free: 187.3 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.8774, allocations: 193.3 kB / 1.017 GB, free: 187.1 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.8796, allocations: 0.8392 MB / 1.018 GB, free: 186.8 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.8797, allocations: 43.89 kB / 1.018 GB, free: 186.7 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006456/0.8804, allocations: 0.5352 MB / 1.019 GB, free: 186.3 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/0.8808, allocations: 360.1 kB / 1.019 GB, free: 186.1 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005369/0.8814, allocations: 180.3 kB / 1.019 GB, free: 186 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.8815, allocations: 342.7 kB / 1.02 GB, free: 185.7 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001217/0.8827, allocations: 317 kB / 1.02 GB, free: 185.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.884, allocations: 476.6 kB / 1.02 GB, free: 185.3 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002302/0.8863, allocations: 0.7724 MB / 1.021 GB, free: 184.9 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.8863, allocations: 0 / 1.021 GB, free: 184.9 MB / 0.7481 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004366/0.8907, allocations: 1.035 MB / 1.022 GB, free: 184.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/0.8907, allocations: 6.344 kB / 1.022 GB, free: 184.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.8907, allocations: 5.625 kB / 1.022 GB, free: 184.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.8918, allocations: 83.25 kB / 1.022 GB, free: 184.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.8933, allocations: 203.6 kB / 1.022 GB, free: 184.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.8963, allocations: 1.633 MB / 1.024 GB, free: 183 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.898, allocations: 106.8 kB / 1.024 GB, free: 182.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.8982, allocations: 46.77 kB / 1.024 GB, free: 182.9 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 (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 (116): * Single equations (assignments): 115 * 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.00107/0.8992, allocations: 313.9 kB / 1.024 GB, free: 182.7 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005663/0.8998, allocations: 119.4 kB / 1.024 GB, free: 182.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/0.9051, allocations: 1.251 MB / 1.026 GB, free: 182.2 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.9051, allocations: 11.34 kB / 1.026 GB, free: 182.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9051, allocations: 2.906 kB / 1.026 GB, free: 182.2 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-05/0.9051, allocations: 3.969 kB / 1.026 GB, free: 182.2 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.9083, allocations: 1.172 MB / 1.027 GB, free: 181.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-05/0.9083, allocations: 3.688 kB / 1.027 GB, free: 181.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.9101, allocations: 209.1 kB / 1.027 GB, free: 181.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007494/0.9108, allocations: 74.06 kB / 1.027 GB, free: 181.6 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000194/0.911, allocations: 30.17 kB / 1.027 GB, free: 181.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.9134, allocations: 1.662 MB / 1.029 GB, free: 179.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.9135, allocations: 3.938 kB / 1.029 GB, free: 179.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/0.9179, allocations: 1.571 MB / 1.03 GB, free: 179.1 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009158/0.9188, allocations: 338.5 kB / 1.031 GB, free: 178.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000363/0.9192, allocations: 28.58 kB / 1.031 GB, free: 178.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/0.9204, allocations: 75 kB / 1.031 GB, free: 178.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002167/0.9206, allocations: 76.45 kB / 1.031 GB, free: 178.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.015e-05/0.9207, allocations: 43.62 kB / 1.031 GB, free: 178.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008396/0.9216, allocations: 0.5916 MB / 1.031 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.9216, allocations: 0 / 1.031 GB, free: 178.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001227/0.9228, allocations: 426.4 kB / 1.032 GB, free: 178.3 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.00472/0.9275, allocations: 2.652 MB / 1.034 GB, free: 176.8 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.9293, allocations: 0.9312 MB / 1.035 GB, free: 176.3 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9293, allocations: 1.562 kB / 1.035 GB, free: 176.3 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000931/0.9303, allocations: 0.573 MB / 1.036 GB, free: 175.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/0.9323, allocations: 488.8 kB / 1.036 GB, free: 175.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.9441, allocations: 8.252 MB / 1.044 GB, free: 167.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.9446, allocations: 1.158 MB / 1.046 GB, free: 165.9 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001075/0.9457, allocations: 326.5 kB / 1.046 GB, free: 165.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006083/0.9463, allocations: 0.511 MB / 1.046 GB, free: 165.1 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/0.9463, allocations: 0 / 1.046 GB, free: 165.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08834/1.035, allocations: 29.85 MB / 1.076 GB, free: 135.6 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.2, allocations: 6.484 kB / 1.076 GB, free: 135.6 MB / 0.7481 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; mkfifo BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe >> ../files/BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3_res.csv --start-time 0 --stop-time 1e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 400 BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse3.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse3.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.77034279902] Failed to read output from testmodel.py, exit status != 0: 15.41948412603233 15.44059517 15.009058985 Calling exit ...