Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.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.HeatConduction1DNodes,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes",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.001542/0.001542, allocations: 108 kB / 15.6 MB, free: 132 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.001508/0.001508, allocations: 194 kB / 16.53 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002383/0.002383, allocations: 282.4 kB / 290.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 178.6 MB / 0.5073 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004163/0.004163, allocations: 104.5 kB / 0.6065 GB, free: 24.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1641, allocations: 89.14 MB / 0.6936 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003284/0.1674, allocations: 1.838 MB / 0.6954 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1685, allocations: 0.6931 MB / 0.6961 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.428e-05/0.1686, allocations: 1.031 kB / 0.6961 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001933/0.1688, allocations: 31.77 kB / 0.6961 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.169, allocations: 74.89 kB / 0.6962 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.1692, allocations: 59.86 kB / 0.6962 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.1695, allocations: 267.2 kB / 0.6965 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1697, allocations: 59.05 kB / 0.6965 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.1698, allocations: 107.7 kB / 0.6966 GB, free: 1.129 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.17, allocations: 107.7 kB / 0.6967 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.17, allocations: 16 kB / 0.6968 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.274e-05/0.1701, allocations: 16 kB / 0.6968 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.185e-05/0.1702, allocations: 59.81 kB / 0.6968 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.1703, allocations: 107.6 kB / 0.6969 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.1706, allocations: 235.2 kB / 0.6971 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1706, allocations: 3.938 kB / 0.6972 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1706, allocations: 0 / 0.6972 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1706, allocations: 0 / 0.6972 GB, free: 0.5938 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008625/0.1715, allocations: 0.5433 MB / 0.6977 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1715, allocations: 12.03 kB / 0.6977 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.587e-05/0.1716, allocations: 46.69 kB / 0.6977 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.1716, allocations: 16.75 kB / 0.6978 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.1719, allocations: 225.3 kB / 0.698 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.1719, allocations: 4.375 kB / 0.698 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.1719, allocations: 24.28 kB / 0.698 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003548/0.1723, allocations: 213.2 kB / 0.6982 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1723, allocations: 0 / 0.6982 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.1723, allocations: 7.984 kB / 0.6982 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1723, allocations: 4 kB / 0.6982 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.1726, allocations: 120.5 kB / 0.6983 GB, free: 15.27 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.001198/0.1738, allocations: 0.9978 MB / 0.6993 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/0.1745, allocations: 222.3 kB / 0.6995 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.1747, allocations: 64.81 kB / 0.6996 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1747, allocations: 0 / 0.6996 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1747, allocations: 38.56 kB / 0.6996 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.1747, allocations: 0 / 0.6996 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0004938/0.1752, allocations: 229.5 kB / 0.6998 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.1753, allocations: 55.41 kB / 0.6999 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.1755, allocations: 218.9 kB / 0.7001 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.1755, allocations: 33.69 kB / 0.7001 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.1757, allocations: 136 kB / 0.7003 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.1757, allocations: 35.48 kB / 0.7003 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-05/0.1758, allocations: 57.69 kB / 0.7003 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.176, allocations: 330.8 kB / 0.7007 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1762, allocations: 159.9 kB / 0.7008 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.1765, allocations: 201.1 kB / 0.701 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.1783, allocations: 0.897 MB / 0.7019 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1783, allocations: 3.938 kB / 0.7019 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000775/0.1791, allocations: 0.5027 MB / 0.7024 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.1792, allocations: 57.67 kB / 0.7024 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1792, allocations: 8 kB / 0.7024 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1792, allocations: 0 / 0.7024 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.1794, allocations: 55.91 kB / 0.7025 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1794, allocations: 0 / 0.7025 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.1796, allocations: 31.67 kB / 0.7025 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.1797, allocations: 12 kB / 0.7025 GB, free: 10.68 MB / 0.4981 GB Warning: Assuming fixed start value for the following 5 variables: body.T[1]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[2]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[3]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[4]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[5]:VARIABLE(min = 0.0 start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002375/0.1799, allocations: 182.7 kB / 0.7027 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.18, allocations: 11.91 kB / 0.7027 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.898e-05/0.18, allocations: 21.41 kB / 0.7027 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.18, allocations: 0 / 0.7027 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.18, allocations: 0 / 0.7027 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.18, allocations: 0 / 0.7027 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.1803, allocations: 229.4 kB / 0.703 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1803, allocations: 4 kB / 0.703 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.1806, allocations: 35.97 kB / 0.703 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.1806, allocations: 8 kB / 0.703 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.1806, allocations: 0 / 0.703 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1806, allocations: 0 / 0.703 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1806, allocations: 0 / 0.703 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.1811, allocations: 351.1 kB / 0.7033 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.1812, allocations: 92.86 kB / 0.7034 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.377e-05/0.1812, allocations: 8.047 kB / 0.7034 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.1814, allocations: 8 kB / 0.7034 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.1814, allocations: 7.984 kB / 0.7034 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1814, allocations: 128 / 0.7034 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001343/0.1816, allocations: 152.6 kB / 0.7036 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1816, allocations: 0 / 0.7036 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003219/0.1819, allocations: 59.91 kB / 0.7037 GB, free: 9.449 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body.T[1],body.T[2],body.T[3],body.T[4],body.T[5]) * 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 (8): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008654/0.1828, allocations: 0.8918 MB / 0.7045 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000806/0.1836, allocations: 0.6086 MB / 0.7051 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.1836, allocations: 0 / 0.7051 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.1837, allocations: 79.81 kB / 0.7052 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.1841, allocations: 36.84 kB / 0.7052 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.1883, allocations: 3.411 MB / 0.7086 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.1887, allocations: 0.7397 MB / 0.7093 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.1888, allocations: 40.61 kB / 0.7093 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/0.1889, allocations: 51.42 kB / 0.7094 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1889, allocations: 0 / 0.7094 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.2175, allocations: 4.514 MB / 0.7138 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.47/7.688, allocations: 1.656 kB / 0.7138 GB, free: 15.04 MB / 0.5137 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)