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.005192/0.005192, allocations: 101 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.001496/0.001496, allocations: 195.2 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 287.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9552/0.9552, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002541/0.002541, allocations: 99.84 kB / 0.6809 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.366, allocations: 86.97 MB / 0.7659 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D): time 0.004058/0.3701, allocations: 2.914 MB / 0.7687 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.3711, allocations: 0.6972 MB / 0.7694 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.3713, allocations: 11.94 kB / 0.7694 GB, free: 216 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001966/0.3715, allocations: 63.42 kB / 0.7695 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.3717, allocations: 123 kB / 0.7696 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.3719, allocations: 63.84 kB / 0.7697 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.3722, allocations: 370.1 kB / 0.77 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.3724, allocations: 107.6 kB / 0.7701 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.3726, allocations: 135.5 kB / 0.7702 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3729, allocations: 147.4 kB / 0.7704 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.3729, allocations: 24 kB / 0.7704 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.011e-05/0.373, allocations: 24 kB / 0.7704 GB, free: 15.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.373, allocations: 63.69 kB / 0.7705 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.3732, allocations: 159.2 kB / 0.7706 GB, free: 14.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.3735, allocations: 308 kB / 0.7709 GB, free: 14.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3735, allocations: 0 / 0.7709 GB, free: 14.66 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.193e-06/0.3735, allocations: 0 / 0.7709 GB, free: 14.66 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3735, allocations: 0 / 0.7709 GB, free: 14.66 MB / 0.545 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.0007961/0.3743, allocations: 0.5921 MB / 0.7715 GB, free: 14.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3744, allocations: 12.03 kB / 0.7715 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.528e-05/0.3744, allocations: 62.72 kB / 0.7716 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.255e-05/0.3745, allocations: 36.7 kB / 0.7716 GB, free: 13.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.3748, allocations: 276.5 kB / 0.7719 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3748, allocations: 24.88 kB / 0.7719 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.3749, allocations: 24.38 kB / 0.7719 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.3753, allocations: 241 kB / 0.7722 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3753, allocations: 0 / 0.7722 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.3754, allocations: 15.98 kB / 0.7722 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.3754, allocations: 11.94 kB / 0.7722 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003561/0.3758, allocations: 186.2 kB / 0.7724 GB, free: 13.09 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.001536/0.3773, allocations: 1.293 MB / 0.7736 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000796/0.3781, allocations: 273.5 kB / 0.7739 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3782, allocations: 68.83 kB / 0.774 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.3783, allocations: 4 kB / 0.774 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.3783, allocations: 30.56 kB / 0.774 GB, free: 11.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.3783, allocations: 0 / 0.774 GB, free: 11.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.00114/0.3795, allocations: 0.6535 MB / 0.7746 GB, free: 10.49 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.3795, allocations: 59.41 kB / 0.7747 GB, free: 10.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.3798, allocations: 279.3 kB / 0.7749 GB, free: 10.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3798, allocations: 29.64 kB / 0.775 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.38, allocations: 227.8 kB / 0.7752 GB, free: 9.887 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.38, allocations: 63.47 kB / 0.7753 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.591e-05/0.3801, allocations: 69.61 kB / 0.7753 GB, free: 9.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3803, allocations: 338.8 kB / 0.7756 GB, free: 9.41 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.3805, allocations: 80.33 kB / 0.7757 GB, free: 9.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.3807, allocations: 186.2 kB / 0.7759 GB, free: 9.098 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.3818, allocations: 0.4894 MB / 0.7764 GB, free: 8.562 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3818, allocations: 0 / 0.7764 GB, free: 8.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007028/0.3825, allocations: 424.8 kB / 0.7768 GB, free: 8.129 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3825, allocations: 8 kB / 0.7768 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3826, allocations: 4 kB / 0.7768 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.3828, allocations: 83.39 kB / 0.7769 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.3831, allocations: 79.84 kB / 0.7769 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/0.3872, allocations: 5.515 MB / 0.7823 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.3874, allocations: 47.59 kB / 0.7824 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3874, allocations: 20 kB / 0.7824 GB, free: 1.805 MB / 0.545 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.0003058/0.3877, allocations: 170.3 kB / 0.7826 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.3878, allocations: 35.75 kB / 0.7826 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.915e-05/0.3879, allocations: 34.3 kB / 0.7826 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3879, allocations: 0 / 0.7826 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3879, allocations: 4 kB / 0.7826 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3879, allocations: 0 / 0.7826 GB, free: 1.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.3882, allocations: 313.3 kB / 0.7829 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3882, allocations: 0 / 0.7829 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/0.3884, allocations: 31.98 kB / 0.783 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.3887, allocations: 83.33 kB / 0.783 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3887, allocations: 4 kB / 0.783 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003884/0.3926, allocations: 5.503 MB / 0.7884 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3926, allocations: 0 / 0.7884 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.3933, allocations: 410.9 kB / 0.7888 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.05e-05/0.3933, allocations: 116.8 kB / 0.7889 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.3934, allocations: 8.062 kB / 0.7889 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3935, allocations: 8 kB / 0.7889 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.3936, allocations: 19.97 kB / 0.789 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.3936, allocations: 8 kB / 0.789 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001819/0.3938, allocations: 193.9 kB / 0.7891 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3938, allocations: 0 / 0.7891 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004046/0.3942, allocations: 95.89 kB / 0.7892 GB, free: 10.12 MB / 0.5606 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.0009411/0.3952, allocations: 0.9497 MB / 0.7902 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008246/0.396, allocations: 0.6555 MB / 0.7908 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.396, allocations: 0 / 0.7908 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005721/0.3966, allocations: 0.5301 MB / 0.7913 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/0.397, allocations: 60.59 kB / 0.7914 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.4008, allocations: 3.167 MB / 0.7945 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.4011, allocations: 0.7645 MB / 0.7952 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001146/0.4012, allocations: 34.95 kB / 0.7953 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4014, allocations: 83.41 kB / 0.7953 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.4014, allocations: 0 / 0.7953 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.4421, allocations: 7.032 MB / 0.8022 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.527/9.969, allocations: 2.75 kB / 0.8022 GB, free: 12.68 MB / 0.5762 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)