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.004724/0.004724, allocations: 99.86 kB / 15.73 MB, free: 6.055 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.001195/0.001195, allocations: 192.8 kB / 16.67 MB, free: 5.969 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 294.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9234/0.9234, allocations: 169.2 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 95.84 kB / 0.6809 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3699, allocations: 86.97 MB / 0.7659 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.0029/0.3728, allocations: 1.836 MB / 0.7677 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3739, allocations: 0.6857 MB / 0.7683 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000111/0.374, allocations: 4 kB / 0.7683 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.3742, allocations: 35.72 kB / 0.7684 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.3745, allocations: 71.58 kB / 0.7684 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.3747, allocations: 59.86 kB / 0.7685 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.3751, allocations: 275.2 kB / 0.7688 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3752, allocations: 64.86 kB / 0.7688 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.3754, allocations: 99.75 kB / 0.7689 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.3756, allocations: 115.6 kB / 0.769 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.3756, allocations: 16 kB / 0.769 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.317e-05/0.3756, allocations: 16 kB / 0.7691 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.3757, allocations: 55.89 kB / 0.7691 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3758, allocations: 103.5 kB / 0.7692 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002509/0.3761, allocations: 240.4 kB / 0.7694 GB, free: 260 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3761, allocations: 4 kB / 0.7694 GB, free: 256 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3761, allocations: 3.938 kB / 0.7694 GB, free: 252 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.3761, allocations: 0 / 0.7694 GB, free: 252 kB / 0.5294 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.0008352/0.377, allocations: 0.5432 MB / 0.77 GB, free: 15.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.377, allocations: 12.03 kB / 0.77 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.3771, allocations: 46.73 kB / 0.77 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.3771, allocations: 20.8 kB / 0.7701 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3774, allocations: 220.6 kB / 0.7703 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.3774, allocations: 12.31 kB / 0.7703 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.3774, allocations: 16.38 kB / 0.7703 GB, free: 15.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.3778, allocations: 205.9 kB / 0.7705 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3778, allocations: 0 / 0.7705 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.3778, allocations: 8 kB / 0.7705 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3778, allocations: 4 kB / 0.7705 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.3781, allocations: 124.5 kB / 0.7706 GB, free: 14.93 MB / 0.545 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.001071/0.3792, allocations: 1.006 MB / 0.7716 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/0.3799, allocations: 202.4 kB / 0.7718 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.38, allocations: 72.75 kB / 0.7719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.38, allocations: 0 / 0.7719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.3801, allocations: 42.56 kB / 0.7719 GB, free: 13.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.3801, allocations: 0 / 0.7719 GB, free: 13.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004516/0.3805, allocations: 225.6 kB / 0.7721 GB, free: 13.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.3806, allocations: 59.39 kB / 0.7722 GB, free: 13.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.3807, allocations: 223.6 kB / 0.7724 GB, free: 12.94 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3808, allocations: 29.7 kB / 0.7724 GB, free: 12.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.3809, allocations: 140.2 kB / 0.7726 GB, free: 12.76 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3809, allocations: 31.75 kB / 0.7726 GB, free: 12.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-05/0.381, allocations: 61.64 kB / 0.7726 GB, free: 12.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.3811, allocations: 330.8 kB / 0.773 GB, free: 12.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.3813, allocations: 159.8 kB / 0.7731 GB, free: 12.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3816, allocations: 201.1 kB / 0.7733 GB, free: 11.96 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.3833, allocations: 0.8975 MB / 0.7742 GB, free: 11.03 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3833, allocations: 0 / 0.7742 GB, free: 11.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006487/0.3839, allocations: 0.4913 MB / 0.7747 GB, free: 10.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.145e-05/0.384, allocations: 61.67 kB / 0.7747 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.384, allocations: 7.984 kB / 0.7747 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.384, allocations: 3.984 kB / 0.7747 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.3843, allocations: 47.92 kB / 0.7748 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3843, allocations: 0 / 0.7748 GB, free: 10.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.3845, allocations: 43.7 kB / 0.7748 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.3845, allocations: 8 kB / 0.7748 GB, free: 10.35 MB / 0.545 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.0002062/0.3847, allocations: 182.1 kB / 0.775 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3847, allocations: 23.84 kB / 0.775 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.3848, allocations: 21.41 kB / 0.775 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3848, allocations: 0 / 0.775 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3848, allocations: 0 / 0.775 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3848, allocations: 3.984 kB / 0.775 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.385, allocations: 233.4 kB / 0.7753 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3851, allocations: 0 / 0.7753 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002428/0.3853, allocations: 27.98 kB / 0.7753 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3853, allocations: 8 kB / 0.7753 GB, free: 9.797 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.3853, allocations: 7.984 kB / 0.7753 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3854, allocations: 4 kB / 0.7753 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3854, allocations: 0 / 0.7753 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.3858, allocations: 351.5 kB / 0.7756 GB, free: 9.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.3859, allocations: 93 kB / 0.7757 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.3859, allocations: 4.062 kB / 0.7757 GB, free: 9.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.386, allocations: 4 kB / 0.7757 GB, free: 9.309 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.3861, allocations: 11.98 kB / 0.7758 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.3861, allocations: 0 / 0.7758 GB, free: 9.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3862, allocations: 152.6 kB / 0.7759 GB, free: 9.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3862, allocations: 0 / 0.7759 GB, free: 9.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002966/0.3865, allocations: 59.95 kB / 0.776 GB, free: 9.09 MB / 0.545 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.0006598/0.3872, allocations: 0.888 MB / 0.7768 GB, free: 8.176 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006638/0.3879, allocations: 0.6117 MB / 0.7774 GB, free: 7.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3879, allocations: 0 / 0.7774 GB, free: 7.555 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.388, allocations: 71.89 kB / 0.7775 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.3883, allocations: 32.3 kB / 0.7775 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.392, allocations: 3.421 MB / 0.7809 GB, free: 3.918 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.3923, allocations: 0.7436 MB / 0.7816 GB, free: 3.148 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001046/0.3924, allocations: 40.61 kB / 0.7816 GB, free: 3.109 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.3925, allocations: 47.41 kB / 0.7817 GB, free: 3.062 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.3925, allocations: 4 kB / 0.7817 GB, free: 3.059 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02071/0.4132, allocations: 4.551 MB / 0.7861 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.109/7.522, allocations: 7.688 kB / 0.7861 GB, free: 14.67 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)