Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.HAM.HeatConduction.Examples.HeatConduction1D,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008121/0.008129, allocations: 96.48 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002238/0.002238, allocations: 192 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002472/0.002473, allocations: 294.9 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.5074 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002846/0.002846, allocations: 95.84 kB / 0.6943 GB, free: 3.641 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4349, allocations: 89.15 MB / 0.7813 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004324/0.4393, allocations: 2.914 MB / 0.7842 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.4404, allocations: 0.6981 MB / 0.7848 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.4405, allocations: 11.47 kB / 0.7849 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.4407, allocations: 64.62 kB / 0.7849 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.441, allocations: 127.6 kB / 0.785 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001659/0.4412, allocations: 59.89 kB / 0.7851 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003602/0.4415, allocations: 367.3 kB / 0.7854 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.4417, allocations: 102 kB / 0.7855 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.4419, allocations: 132.5 kB / 0.7857 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.4422, allocations: 152.7 kB / 0.7858 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.4422, allocations: 26.38 kB / 0.7858 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.251e-05/0.4423, allocations: 24.75 kB / 0.7859 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.898e-05/0.4423, allocations: 56.81 kB / 0.7859 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.4425, allocations: 161.4 kB / 0.7861 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.4429, allocations: 313.8 kB / 0.7864 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4429, allocations: 1.594 kB / 0.7864 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4429, allocations: 0 / 0.7864 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.4429, allocations: 0 / 0.7864 GB, free: 10.48 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008561/0.4438, allocations: 0.5912 MB / 0.7869 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.4438, allocations: 8.406 kB / 0.787 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.238e-05/0.4439, allocations: 65.05 kB / 0.787 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.444, allocations: 42.56 kB / 0.7871 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003328/0.4443, allocations: 280.4 kB / 0.7873 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.4443, allocations: 20.16 kB / 0.7873 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.4444, allocations: 24.75 kB / 0.7874 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.4448, allocations: 243.2 kB / 0.7876 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4449, allocations: 7.875 kB / 0.7876 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.4449, allocations: 11.77 kB / 0.7876 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.4449, allocations: 6 kB / 0.7876 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.4453, allocations: 192.5 kB / 0.7878 GB, free: 9.426 MB / 0.5606 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.001663/0.447, allocations: 1.292 MB / 0.7891 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008335/0.4478, allocations: 265 kB / 0.7893 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.448, allocations: 63.59 kB / 0.7894 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.448, allocations: 1.719 kB / 0.7894 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.448, allocations: 33.02 kB / 0.7894 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.448, allocations: 0 / 0.7894 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.001357/0.4494, allocations: 0.6471 MB / 0.7901 GB, free: 7.602 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.4494, allocations: 62.2 kB / 0.7901 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003692/0.4498, allocations: 287 kB / 0.7904 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.4499, allocations: 26.23 kB / 0.7904 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.45, allocations: 220.7 kB / 0.7906 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.788e-05/0.4501, allocations: 66.81 kB / 0.7907 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.4502, allocations: 72.34 kB / 0.7908 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4504, allocations: 338.1 kB / 0.7911 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.4505, allocations: 83.44 kB / 0.7912 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.4508, allocations: 183.1 kB / 0.7913 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.452, allocations: 0.4943 MB / 0.7918 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.452, allocations: 1.25 kB / 0.7918 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008583/0.4529, allocations: 428.2 kB / 0.7922 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.4529, allocations: 5.75 kB / 0.7922 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4529, allocations: 4.375 kB / 0.7922 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002979/0.4532, allocations: 85.5 kB / 0.7923 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.4535, allocations: 80.97 kB / 0.7924 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004178/0.4577, allocations: 5.518 MB / 0.7978 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.4579, allocations: 41.48 kB / 0.7978 GB, free: 276 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.458, allocations: 16.38 kB / 0.7978 GB, free: 272 kB / 0.5606 GB Warning: Assuming fixed start value for the following 5 variables: body1.T:VARIABLE(min = 0.0 start = body1.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = 0.0 start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = 0.0 start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = 0.0 start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body5.T:VARIABLE(min = 0.0 start = body5.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.4582, allocations: 171.2 kB / 0.798 GB, free: 120 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.4583, allocations: 39.59 kB / 0.798 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.4584, allocations: 33.59 kB / 0.7981 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4584, allocations: 1.953 kB / 0.7981 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.4584, allocations: 1.438 kB / 0.7981 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4584, allocations: 1.922 kB / 0.7981 GB, free: 68 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.4588, allocations: 310.2 kB / 0.7984 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4588, allocations: 4 kB / 0.7984 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.459, allocations: 32.59 kB / 0.7984 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002509/0.4593, allocations: 83.03 kB / 0.7985 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.4593, allocations: 7.453 kB / 0.7985 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00413/0.4634, allocations: 5.507 MB / 0.8039 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4634, allocations: 1.812 kB / 0.8039 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.4641, allocations: 413.4 kB / 0.8043 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.4642, allocations: 113.1 kB / 0.8044 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.4643, allocations: 2.438 kB / 0.8044 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4644, allocations: 10.81 kB / 0.8044 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.4645, allocations: 20.22 kB / 0.8044 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4645, allocations: 4.594 kB / 0.8044 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002049/0.4647, allocations: 192 kB / 0.8046 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.4647, allocations: 1.156 kB / 0.8046 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004506/0.4652, allocations: 93.14 kB / 0.8047 GB, free: 9.562 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00102/0.4662, allocations: 0.9518 MB / 0.8056 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008989/0.4671, allocations: 0.6601 MB / 0.8063 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4671, allocations: 4.125 kB / 0.8063 GB, free: 8.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.4678, allocations: 0.524 MB / 0.8068 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.4682, allocations: 62.98 kB / 0.8068 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.4723, allocations: 3.156 MB / 0.8099 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.4727, allocations: 0.7654 MB / 0.8107 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.4728, allocations: 32.73 kB / 0.8107 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.473, allocations: 86.66 kB / 0.8108 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.473, allocations: 1.031 kB / 0.8108 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04001/0.513, allocations: 7.023 MB / 0.8176 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.78, allocations: 11.72 kB / 0.8176 GB, free: 1.336 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)