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.00126/0.00126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 198 kB / 16.53 MB, free: 6.66 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002384/0.002384, allocations: 282.5 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00267/0.00267, allocations: 105.2 kB / 0.6065 GB, free: 24.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1521, allocations: 89.15 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.00432/0.1565, allocations: 2.899 MB / 0.6964 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1576, allocations: 0.71 MB / 0.6971 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1577, allocations: 11.94 kB / 0.6971 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002014/0.158, allocations: 67.48 kB / 0.6972 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1582, allocations: 119 kB / 0.6973 GB, free: 424 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.1584, allocations: 55.86 kB / 0.6974 GB, free: 368 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.1587, allocations: 374.1 kB / 0.6977 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.1589, allocations: 100.1 kB / 0.6978 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.1591, allocations: 135.5 kB / 0.6979 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.1593, allocations: 147.3 kB / 0.6981 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.366e-05/0.1594, allocations: 27.98 kB / 0.6981 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.752e-05/0.1595, allocations: 24 kB / 0.6981 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.1595, allocations: 55.78 kB / 0.6982 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.1597, allocations: 155.2 kB / 0.6983 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.16, allocations: 314.8 kB / 0.6986 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.16, allocations: 4 kB / 0.6986 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.16, allocations: 0 / 0.6986 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.16, allocations: 0 / 0.6986 GB, free: 15.04 MB / 0.4981 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.0008308/0.1609, allocations: 0.5807 MB / 0.6992 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1609, allocations: 8.031 kB / 0.6992 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.161, allocations: 58.73 kB / 0.6993 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.084e-05/0.1611, allocations: 40.55 kB / 0.6993 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.1614, allocations: 291.5 kB / 0.6996 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.1614, allocations: 16.94 kB / 0.6996 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.86e-05/0.1615, allocations: 24.38 kB / 0.6996 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.1619, allocations: 241 kB / 0.6999 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.162, allocations: 0 / 0.6999 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.162, allocations: 8 kB / 0.6999 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.162, allocations: 8 kB / 0.6999 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.1624, allocations: 190.2 kB / 0.7001 GB, free: 13.5 MB / 0.4981 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.001635/0.164, allocations: 1.297 MB / 0.7013 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/0.1649, allocations: 264.1 kB / 0.7016 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.165, allocations: 60.84 kB / 0.7016 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.165, allocations: 4 kB / 0.7016 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1651, allocations: 38.56 kB / 0.7017 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.1651, allocations: 3.938 kB / 0.7017 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001235/0.1663, allocations: 0.6418 MB / 0.7023 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.1664, allocations: 55.41 kB / 0.7024 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.1667, allocations: 291.2 kB / 0.7026 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1667, allocations: 25.7 kB / 0.7027 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1669, allocations: 223.2 kB / 0.7029 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.1669, allocations: 63.11 kB / 0.7029 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.1671, allocations: 69.59 kB / 0.703 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1672, allocations: 342.8 kB / 0.7033 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.1674, allocations: 72.34 kB / 0.7034 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00025/0.1676, allocations: 194.1 kB / 0.7036 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.1688, allocations: 0.489 MB / 0.7041 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1688, allocations: 3.938 kB / 0.7041 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000755/0.1696, allocations: 424.2 kB / 0.7045 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1696, allocations: 8 kB / 0.7045 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1696, allocations: 4.438 kB / 0.7045 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002878/0.1699, allocations: 87.33 kB / 0.7046 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.1702, allocations: 79.89 kB / 0.7046 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/0.1745, allocations: 5.514 MB / 0.71 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.1748, allocations: 43.53 kB / 0.7101 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.1748, allocations: 16.12 kB / 0.7101 GB, free: 2.207 MB / 0.4981 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.0003226/0.1752, allocations: 170.7 kB / 0.7102 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.1752, allocations: 31.64 kB / 0.7103 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.723e-05/0.1753, allocations: 30.31 kB / 0.7103 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.1753, allocations: 3.984 kB / 0.7103 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1753, allocations: 4 kB / 0.7103 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1753, allocations: 3.984 kB / 0.7103 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.1757, allocations: 305.3 kB / 0.7106 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.1757, allocations: 4 kB / 0.7106 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.1759, allocations: 35.92 kB / 0.7106 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/0.1762, allocations: 83.39 kB / 0.7107 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.1762, allocations: 3.984 kB / 0.7107 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004198/0.1804, allocations: 5.503 MB / 0.7161 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1804, allocations: 4.062 kB / 0.7161 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.1811, allocations: 419.7 kB / 0.7165 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.1812, allocations: 108.7 kB / 0.7166 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.1813, allocations: 8.188 kB / 0.7166 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1814, allocations: 7.984 kB / 0.7166 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.1815, allocations: 15.98 kB / 0.7166 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.1815, allocations: 4 kB / 0.7166 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001952/0.1817, allocations: 190 kB / 0.7168 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1817, allocations: 0 / 0.7168 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004692/0.1822, allocations: 95.94 kB / 0.7169 GB, free: 10.53 MB / 0.5137 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.001024/0.1832, allocations: 0.9675 MB / 0.7179 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009259/0.1842, allocations: 0.6632 MB / 0.7185 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1842, allocations: 0 / 0.7185 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006371/0.1848, allocations: 0.5261 MB / 0.719 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1852, allocations: 61.11 kB / 0.7191 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.1893, allocations: 3.162 MB / 0.7222 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1897, allocations: 0.7606 MB / 0.7229 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000144/0.1899, allocations: 30.97 kB / 0.7229 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.19, allocations: 91.41 kB / 0.723 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.1901, allocations: 0 / 0.723 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04009/0.2302, allocations: 6.903 MB / 0.7298 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.361/9.591, allocations: 17.09 kB / 0.7298 GB, free: 13.17 MB / 0.5294 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)