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.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.001378/0.001378, allocations: 109.7 kB / 17.54 MB, free: 4.641 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.001365/0.001365, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.285/1.285, allocations: 225.6 MB / 249.3 MB, free: 3.207 MB / 190.1 MB " [Timeout remaining time 179] 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.002185/0.002185, allocations: 278.7 kB / 304.7 MB, free: 3.539 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 0.9754/0.9754, allocations: 180.9 MB / 0.5281 GB, free: 1.98 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.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1,fileNamePrefix="BuildingSystems_BuildingSystems_Examples_Tutorial_SimpleHouse_SimpleHouse1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002545/0.002545, allocations: 95.84 kB / 0.7277 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4314, allocations: 94.15 MB / 0.8196 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1): time 0.006561/0.438, allocations: 5.17 MB / 0.8247 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1634/0.6013, allocations: 151.2 MB / 0.9723 GB, free: 0.9492 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008685/0.6022, allocations: 23.81 kB / 0.9724 GB, free: 0.9258 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.0006892/0.6029, allocations: 190.2 kB / 0.9725 GB, free: 0.7383 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.6048, allocations: 0.5728 MB / 0.9731 GB, free: 172 kB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.6069, allocations: 0.8596 MB / 0.9739 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001718/0.6086, allocations: 1.42 MB / 0.9753 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006748/0.6093, allocations: 421.6 kB / 0.9757 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006138/0.6099, allocations: 0.4944 MB / 0.9762 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.6105, allocations: 0.5095 MB / 0.9767 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.6106, allocations: 116 kB / 0.9768 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000832/0.6114, allocations: 495.5 kB / 0.9773 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.6117, allocations: 307 kB / 0.9776 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.6122, allocations: 0.5674 MB / 0.9781 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.614, allocations: 1.676 MB / 0.9798 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.614, allocations: 0 / 0.9798 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.222e-06/0.614, allocations: 0 / 0.9798 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.614, allocations: 0 / 0.9798 GB, free: 9.289 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002404/0.6164, allocations: 1.511 MB / 0.9812 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.6164, allocations: 8.031 kB / 0.9813 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000162/0.6166, allocations: 143.5 kB / 0.9814 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008511/0.6174, allocations: 200 kB / 0.9816 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.6185, allocations: 0.7785 MB / 0.9823 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.6186, allocations: 69.98 kB / 0.9824 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.6187, allocations: 84 kB / 0.9825 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.6202, allocations: 0.9301 MB / 0.9834 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.6202, allocations: 4 kB / 0.9834 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.6203, allocations: 39.98 kB / 0.9834 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.6203, allocations: 20 kB / 0.9835 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.622, allocations: 1.12 MB / 0.9846 GB, free: 4.25 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.00378/0.6258, allocations: 2.74 MB / 0.9872 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.6272, allocations: 0.7652 MB / 0.988 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005184/0.6278, allocations: 285.6 kB / 0.9882 GB, free: 340 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.817e-05/0.6278, allocations: 28.61 kB / 0.9883 GB, free: 312 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008116/0.6286, allocations: 0.497 MB / 0.9888 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.064e-06/0.6286, allocations: 0 / 0.9888 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.003062/0.6317, allocations: 1.214 MB / 0.9899 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.6318, allocations: 192.6 kB / 0.9901 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007497/0.6326, allocations: 0.6372 MB / 0.9908 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.13e-05/0.6326, allocations: 49.7 kB / 0.9908 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.6329, allocations: 417 kB / 0.9912 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.6332, allocations: 277.6 kB / 0.9915 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.6334, allocations: 150.6 kB / 0.9916 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.6336, allocations: 390.8 kB / 0.992 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004885/0.6341, allocations: 245.9 kB / 0.9922 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.6347, allocations: 366.5 kB / 0.9926 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.6357, allocations: 0.5916 MB / 0.9931 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6357, allocations: 0 / 0.9931 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001794/0.6375, allocations: 0.814 MB / 0.9939 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6375, allocations: 8 kB / 0.9939 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6375, allocations: 0 / 0.9939 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005511/0.6381, allocations: 88.8 kB / 0.994 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.6387, allocations: 155.8 kB / 0.9942 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.6408, allocations: 1.633 MB / 0.9958 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006038/0.6415, allocations: 93.67 kB / 0.9959 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.829e-05/0.6415, allocations: 31.98 kB / 0.9959 GB, free: 8.184 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (89): * Single equations (assignments): 88 * 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.0003483/0.6419, allocations: 265.7 kB / 0.9961 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.642, allocations: 91.44 kB / 0.9962 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002258/0.6443, allocations: 1.074 MB / 0.9973 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.6443, allocations: 8 kB / 0.9973 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.6443, allocations: 0 / 0.9973 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.6443, allocations: 3.984 kB / 0.9973 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.6453, allocations: 0.9152 MB / 0.9982 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.6453, allocations: 0 / 0.9982 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/0.6459, allocations: 163.8 kB / 0.9983 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004059/0.6463, allocations: 68.73 kB / 0.9984 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.742e-05/0.6464, allocations: 31.91 kB / 0.9984 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001851/0.6482, allocations: 1.65 MB / 1 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.6482, allocations: 7.922 kB / 1 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.6508, allocations: 1.344 MB / 1.001 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.6511, allocations: 276.2 kB / 1.002 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.6512, allocations: 27.94 kB / 1.002 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.6518, allocations: 60.06 kB / 1.002 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.6519, allocations: 72.89 kB / 1.002 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/0.652, allocations: 35.97 kB / 1.002 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005492/0.6525, allocations: 471.1 kB / 1.002 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.6525, allocations: 0 / 1.002 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007394/0.6533, allocations: 331.1 kB / 1.003 GB, free: 1.07 MB / 0.7325 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.004446/0.6577, allocations: 2.384 MB / 1.005 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001519/0.6592, allocations: 0.7882 MB / 1.006 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6592, allocations: 0 / 1.006 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008851/0.6601, allocations: 0.4886 MB / 1.006 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.6612, allocations: 303.7 kB / 1.006 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009875/0.6711, allocations: 6.391 MB / 1.013 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.6717, allocations: 1.039 MB / 1.014 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007262/0.6725, allocations: 258.8 kB / 1.014 GB, free: 5.387 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/0.673, allocations: 399.3 kB / 1.014 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of SimCode: time 6.22e-07/0.673, allocations: 0 / 1.014 GB, free: 4.996 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05851/0.7315, allocations: 22.11 MB / 1.036 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.34, allocations: 6.031 kB / 1.036 GB, free: 15.14 MB / 0.7794 GB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1_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_SimpleHouse1.fmu > BuildingSystems_BuildingSystems.Examples.Tutorial.SimpleHouse.SimpleHouse1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.061486888997024]