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.004208/0.004208, 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.00118/0.001179, allocations: 194.3 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.368/1.368, 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.002391/0.002391, allocations: 286.6 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.9876/0.9876, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 97.23 kB / 0.6809 GB, free: 52 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1546, allocations: 86.97 MB / 0.7659 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.002985/0.1576, allocations: 1.832 MB / 0.7677 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1587, allocations: 0.6857 MB / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.377e-05/0.1588, allocations: 0 / 0.7683 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.159, allocations: 35.77 kB / 0.7684 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.1592, allocations: 71.59 kB / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.1594, allocations: 55.86 kB / 0.7685 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.1598, allocations: 275.2 kB / 0.7688 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.1599, allocations: 57.36 kB / 0.7688 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.1601, allocations: 103.8 kB / 0.7689 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1602, allocations: 107.6 kB / 0.769 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.1603, allocations: 19.94 kB / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.971e-05/0.1603, allocations: 20 kB / 0.7691 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.1604, allocations: 55.81 kB / 0.7691 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1606, allocations: 107.6 kB / 0.7692 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.1608, allocations: 243.1 kB / 0.7694 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1609, allocations: 0 / 0.7694 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1609, allocations: 4 kB / 0.7694 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.1609, allocations: 0 / 0.7694 GB, free: 5.328 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.0008671/0.1617, allocations: 0.5509 MB / 0.77 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1618, allocations: 8.031 kB / 0.77 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.1618, allocations: 42.73 kB / 0.77 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.23e-05/0.1619, allocations: 28.8 kB / 0.7701 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1621, allocations: 216.1 kB / 0.7703 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.1622, allocations: 12.38 kB / 0.7703 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.1622, allocations: 16.36 kB / 0.7703 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.1626, allocations: 206.4 kB / 0.7705 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1626, allocations: 4 kB / 0.7705 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.1626, allocations: 8 kB / 0.7705 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1626, allocations: 0 / 0.7705 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.1629, allocations: 124.5 kB / 0.7706 GB, free: 4.008 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.001158/0.164, allocations: 0.998 MB / 0.7716 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007215/0.1648, allocations: 206.4 kB / 0.7718 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1649, allocations: 68.81 kB / 0.7719 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1649, allocations: 8 kB / 0.7719 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.165, allocations: 30.56 kB / 0.7719 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.165, allocations: 3.938 kB / 0.7719 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005005/0.1655, allocations: 237.6 kB / 0.7721 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.1655, allocations: 51.41 kB / 0.7722 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1658, allocations: 227.1 kB / 0.7724 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.1658, allocations: 25.7 kB / 0.7724 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.1659, allocations: 136.2 kB / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.1659, allocations: 43.72 kB / 0.7726 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.166, allocations: 61.64 kB / 0.7726 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1662, allocations: 322.8 kB / 0.7729 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.1665, allocations: 159.9 kB / 0.7731 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.1667, allocations: 212.3 kB / 0.7733 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001807/0.1686, allocations: 0.8943 MB / 0.7742 GB, free: 104 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1686, allocations: 0 / 0.7742 GB, free: 104 kB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.2745/0.4431, allocations: 0.4911 MB / 0.7747 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.573e-05/0.4432, allocations: 63 kB / 0.7747 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.4432, allocations: 1.922 kB / 0.7747 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.4432, allocations: 3.531 kB / 0.7747 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.4435, allocations: 50.42 kB / 0.7748 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4435, allocations: 5.391 kB / 0.7748 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.4437, allocations: 33.97 kB / 0.7748 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.4437, allocations: 13.86 kB / 0.7748 GB, free: 15.39 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.0002024/0.444, allocations: 173.3 kB / 0.775 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.023e-05/0.444, allocations: 13.8 kB / 0.775 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.476e-05/0.4441, allocations: 23.97 kB / 0.775 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4441, allocations: 1.188 kB / 0.775 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4441, allocations: 2.75 kB / 0.775 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4441, allocations: 0.7031 kB / 0.775 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.4443, allocations: 232.5 kB / 0.7752 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4443, allocations: 0.6562 kB / 0.7752 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002464/0.4446, allocations: 34.91 kB / 0.7753 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.4446, allocations: 0.875 kB / 0.7753 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.4446, allocations: 6.031 kB / 0.7753 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.4446, allocations: 1.312 kB / 0.7753 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.091e-05/0.4446, allocations: 4.578 kB / 0.7753 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.4451, allocations: 353.3 kB / 0.7756 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.4451, allocations: 96.61 kB / 0.7757 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.4452, allocations: 10.12 kB / 0.7757 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.4453, allocations: 5.875 kB / 0.7757 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.4454, allocations: 6.766 kB / 0.7757 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.4454, allocations: 1.734 kB / 0.7757 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000121/0.4455, allocations: 159.5 kB / 0.7759 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.01e-07/0.4455, allocations: 1.062 kB / 0.7759 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003054/0.4458, allocations: 61.88 kB / 0.776 GB, free: 14.76 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.0006064/0.4464, allocations: 0.8779 MB / 0.7768 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000685/0.4471, allocations: 0.6067 MB / 0.7774 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4471, allocations: 1.75 kB / 0.7774 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.4473, allocations: 70.09 kB / 0.7775 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.4476, allocations: 33.44 kB / 0.7775 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003541/0.4511, allocations: 3.425 MB / 0.7809 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.4513, allocations: 0.7433 MB / 0.7816 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.4514, allocations: 34.95 kB / 0.7816 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.4515, allocations: 48.23 kB / 0.7817 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.4515, allocations: 0 / 0.7817 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02636/0.4779, allocations: 4.578 MB / 0.7861 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/8.033, allocations: 3.938 kB / 0.7861 GB, free: 10.41 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)