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.005018/0.005018, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001178/0.001178, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 279.2 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 0.9139/0.9139, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 99.81 kB / 0.6809 GB, free: 40 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1448, allocations: 86.97 MB / 0.7659 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.003947/0.1488, allocations: 2.9 MB / 0.7687 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.15, allocations: 0.705 MB / 0.7694 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002026/0.1502, allocations: 15.88 kB / 0.7694 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002299/0.1505, allocations: 63.48 kB / 0.7695 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.1507, allocations: 127 kB / 0.7696 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001706/0.1509, allocations: 55.84 kB / 0.7696 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003521/0.1513, allocations: 370.1 kB / 0.77 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.1515, allocations: 104.1 kB / 0.7701 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.1517, allocations: 143.5 kB / 0.7702 GB, free: 4.496 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000206/0.1519, allocations: 139.4 kB / 0.7704 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.507e-05/0.152, allocations: 27.98 kB / 0.7704 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.379e-05/0.152, allocations: 24 kB / 0.7704 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.1521, allocations: 63.7 kB / 0.7705 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.1522, allocations: 159.2 kB / 0.7706 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1525, allocations: 310.6 kB / 0.7709 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1526, allocations: 0 / 0.7709 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1526, allocations: 0 / 0.7709 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.1526, allocations: 4 kB / 0.7709 GB, free: 3.781 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.0007808/0.1534, allocations: 0.5882 MB / 0.7715 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.1534, allocations: 12.03 kB / 0.7715 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.1535, allocations: 66.66 kB / 0.7716 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.1535, allocations: 36.7 kB / 0.7716 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1538, allocations: 283.8 kB / 0.7719 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1539, allocations: 24.94 kB / 0.7719 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.1539, allocations: 24.38 kB / 0.7719 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004182/0.1543, allocations: 237 kB / 0.7722 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1544, allocations: 3.938 kB / 0.7722 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.1544, allocations: 15.98 kB / 0.7722 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.1544, allocations: 12 kB / 0.7722 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.1548, allocations: 186.1 kB / 0.7724 GB, free: 2.211 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.001464/0.1562, allocations: 1.289 MB / 0.7736 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007962/0.157, allocations: 266.4 kB / 0.7739 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.1572, allocations: 64.83 kB / 0.7739 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1572, allocations: 4 kB / 0.7739 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.1572, allocations: 30.56 kB / 0.774 GB, free: 376 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.1572, allocations: 0 / 0.774 GB, free: 376 kB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.2688/0.426, allocations: 0.6421 MB / 0.7746 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.426, allocations: 63.92 kB / 0.7747 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.4263, allocations: 284.6 kB / 0.7749 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.4264, allocations: 29.86 kB / 0.775 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.311e-05/0.4265, allocations: 219.1 kB / 0.7752 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.4265, allocations: 72.73 kB / 0.7752 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.4266, allocations: 71.55 kB / 0.7753 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/0.4266, allocations: 340.3 kB / 0.7756 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.4268, allocations: 77.03 kB / 0.7757 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.427, allocations: 185.8 kB / 0.7759 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.428, allocations: 492 kB / 0.7764 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.4281, allocations: 0.6875 kB / 0.7764 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006493/0.4287, allocations: 424.8 kB / 0.7768 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.4287, allocations: 7.109 kB / 0.7768 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4287, allocations: 4.219 kB / 0.7768 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.429, allocations: 85.2 kB / 0.7769 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.4293, allocations: 81.25 kB / 0.7769 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002312/0.4316, allocations: 5.518 MB / 0.7823 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.4318, allocations: 44.34 kB / 0.7824 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.4319, allocations: 17.02 kB / 0.7824 GB, free: 8.164 MB / 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.0002441/0.4321, allocations: 181.9 kB / 0.7826 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.4322, allocations: 29.16 kB / 0.7826 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.623e-05/0.4322, allocations: 33.22 kB / 0.7826 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4322, allocations: 1.375 kB / 0.7826 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4322, allocations: 5.938 kB / 0.7826 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4322, allocations: 2.859 kB / 0.7826 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.4325, allocations: 300.4 kB / 0.7829 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.4325, allocations: 0 / 0.7829 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.4327, allocations: 31.36 kB / 0.7829 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002102/0.433, allocations: 83.92 kB / 0.783 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.433, allocations: 6.438 kB / 0.783 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.4355, allocations: 5.514 MB / 0.7884 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4355, allocations: 3.281 kB / 0.7884 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.4361, allocations: 421 kB / 0.7888 GB, free: 17.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.4362, allocations: 102.4 kB / 0.7889 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.4362, allocations: 5 kB / 0.7889 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.4363, allocations: 10.86 kB / 0.7889 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.4364, allocations: 16.73 kB / 0.7889 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.4364, allocations: 11.61 kB / 0.789 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001683/0.4366, allocations: 193 kB / 0.7891 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.4366, allocations: 0 / 0.7891 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004226/0.437, allocations: 90.27 kB / 0.7892 GB, free: 17.51 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.0008242/0.4379, allocations: 0.9582 MB / 0.7902 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007207/0.4386, allocations: 0.659 MB / 0.7908 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4386, allocations: 4.062 kB / 0.7908 GB, free: 16.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004959/0.4391, allocations: 0.5276 MB / 0.7913 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003661/0.4395, allocations: 62.08 kB / 0.7914 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.4427, allocations: 3.164 MB / 0.7945 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.443, allocations: 0.7676 MB / 0.7952 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.4431, allocations: 31.62 kB / 0.7953 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.4432, allocations: 88.16 kB / 0.7953 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.4433, allocations: 0 / 0.7953 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.4718, allocations: 7.025 MB / 0.8022 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.013/9.485, allocations: 8.594 kB / 0.8022 GB, free: 11.88 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)