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.001069/0.00107, allocations: 112.5 kB / 15.73 MB, free: 76 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.001058/0.001058, allocations: 187.9 kB / 16.66 MB, free: 6.582 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.285/1.285, 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.002146/0.002147, allocations: 278.5 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9312/0.9312, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 103.8 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1446, allocations: 86.97 MB / 0.7659 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002836/0.1474, allocations: 1.838 MB / 0.7677 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1485, allocations: 0.6857 MB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.1486, allocations: 8 kB / 0.7683 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.1488, allocations: 31.77 kB / 0.7684 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.149, allocations: 59.61 kB / 0.7684 GB, free: 6.312 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.1493, allocations: 71.83 kB / 0.7685 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1496, allocations: 263.2 kB / 0.7687 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1497, allocations: 65.34 kB / 0.7688 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.1499, allocations: 99.73 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1501, allocations: 111.6 kB / 0.769 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.1501, allocations: 20 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.474e-05/0.1502, allocations: 16 kB / 0.769 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.1503, allocations: 63.81 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1504, allocations: 99.58 kB / 0.7692 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.1507, allocations: 239.1 kB / 0.7694 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.1507, allocations: 0 / 0.7694 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1507, allocations: 0 / 0.7694 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.1507, allocations: 0 / 0.7694 GB, free: 5.285 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008411/0.1515, allocations: 0.5509 MB / 0.77 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.1516, allocations: 19.95 kB / 0.77 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.063e-05/0.1516, allocations: 42.75 kB / 0.77 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.1517, allocations: 24.8 kB / 0.77 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.1519, allocations: 228.1 kB / 0.7703 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.152, allocations: 8.375 kB / 0.7703 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.485e-05/0.152, allocations: 16.38 kB / 0.7703 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1524, allocations: 206.4 kB / 0.7705 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1524, allocations: 0 / 0.7705 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1524, allocations: 4 kB / 0.7705 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.1524, allocations: 4 kB / 0.7705 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.1526, allocations: 124.5 kB / 0.7706 GB, free: 3.953 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.001119/0.1538, allocations: 1.002 MB / 0.7716 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007437/0.1545, allocations: 202.4 kB / 0.7718 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1547, allocations: 76.8 kB / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.1547, allocations: 0 / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1547, allocations: 34.56 kB / 0.7719 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.1547, allocations: 3.938 kB / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004651/0.1552, allocations: 225.5 kB / 0.7721 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.1552, allocations: 55.41 kB / 0.7722 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1554, allocations: 223.1 kB / 0.7724 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1555, allocations: 29.7 kB / 0.7724 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.1556, allocations: 144.3 kB / 0.7725 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.1556, allocations: 31.73 kB / 0.7726 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.1557, allocations: 57.66 kB / 0.7726 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1558, allocations: 334.8 kB / 0.7729 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.156, allocations: 151.9 kB / 0.7731 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.1563, allocations: 210.2 kB / 0.7733 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/0.158, allocations: 0.8986 MB / 0.7742 GB, free: 52 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1581, allocations: 0 / 0.7742 GB, free: 52 kB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.3292/0.4873, allocations: 0.49 MB / 0.7746 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.224e-05/0.4874, allocations: 62.91 kB / 0.7747 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.4874, allocations: 3.516 kB / 0.7747 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.4874, allocations: 2.688 kB / 0.7747 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.4877, allocations: 46.42 kB / 0.7748 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4877, allocations: 3.484 kB / 0.7748 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4879, allocations: 38.03 kB / 0.7748 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.4879, allocations: 8.688 kB / 0.7748 GB, free: 14.79 MB / 0.5606 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.0002297/0.4882, allocations: 176.9 kB / 0.775 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.4882, allocations: 18.14 kB / 0.775 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.4883, allocations: 25.89 kB / 0.775 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4883, allocations: 2.484 kB / 0.775 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4883, allocations: 1.562 kB / 0.775 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4883, allocations: 0.5625 kB / 0.775 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.4885, allocations: 229.6 kB / 0.7752 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4885, allocations: 1.656 kB / 0.7752 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.4888, allocations: 38.06 kB / 0.7753 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4888, allocations: 2.719 kB / 0.7753 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.4888, allocations: 3.938 kB / 0.7753 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4888, allocations: 0.6562 kB / 0.7753 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4888, allocations: 1.25 kB / 0.7753 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.4893, allocations: 348.9 kB / 0.7756 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.4893, allocations: 95.39 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.4894, allocations: 4.188 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.4895, allocations: 10.7 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.4895, allocations: 9.391 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.4896, allocations: 2.047 kB / 0.7757 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001101/0.4897, allocations: 156.8 kB / 0.7759 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.01e-07/0.4897, allocations: 2.906 kB / 0.7759 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003042/0.49, allocations: 62.22 kB / 0.7759 GB, free: 14.18 MB / 0.5606 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.0005584/0.4906, allocations: 0.8841 MB / 0.7768 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006981/0.4913, allocations: 0.6085 MB / 0.7774 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4913, allocations: 0 / 0.7774 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4914, allocations: 70.16 kB / 0.7775 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.4917, allocations: 35.22 kB / 0.7775 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.4952, allocations: 3.42 MB / 0.7808 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.4953, allocations: 0.7386 MB / 0.7816 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.4955, allocations: 36.12 kB / 0.7816 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.4955, allocations: 50.8 kB / 0.7816 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.4956, allocations: 0.8438 kB / 0.7816 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.5181, allocations: 4.575 MB / 0.7861 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.132/7.65, allocations: 7 kB / 0.7861 GB, free: 10.12 MB / 0.5606 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)