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.004739/0.004739, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.00158/0.00158, allocations: 205.6 kB / 16.68 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002592/0.002592, allocations: 283.1 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.5074 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 100.7 kB / 0.6943 GB, free: 3.629 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4552, allocations: 89.13 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.003252/0.4585, allocations: 1.844 MB / 0.7831 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.4598, allocations: 0.6928 MB / 0.7838 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.4599, allocations: 2 kB / 0.7838 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.4602, allocations: 35.34 kB / 0.7838 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.4604, allocations: 60.64 kB / 0.7839 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.4607, allocations: 66.56 kB / 0.7839 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.4611, allocations: 273.4 kB / 0.7842 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.4613, allocations: 52.86 kB / 0.7843 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.4615, allocations: 105 kB / 0.7844 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.4617, allocations: 108.1 kB / 0.7845 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.4617, allocations: 17.25 kB / 0.7845 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 4.808e-05/0.4618, allocations: 18.28 kB / 0.7845 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.633e-05/0.4619, allocations: 57.48 kB / 0.7845 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.462, allocations: 111.3 kB / 0.7846 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003528/0.4624, allocations: 234.8 kB / 0.7849 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4624, allocations: 1.156 kB / 0.7849 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4624, allocations: 4 kB / 0.7849 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.4624, allocations: 0 / 0.7849 GB, free: 11.59 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.0009572/0.4634, allocations: 0.5397 MB / 0.7854 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4634, allocations: 9.656 kB / 0.7854 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.441e-05/0.4635, allocations: 49.02 kB / 0.7855 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.4636, allocations: 23.59 kB / 0.7855 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.4639, allocations: 228.2 kB / 0.7857 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.4639, allocations: 9.406 kB / 0.7857 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.464, allocations: 15.77 kB / 0.7857 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.4644, allocations: 203.9 kB / 0.7859 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4644, allocations: 0 / 0.7859 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.4644, allocations: 13.41 kB / 0.7859 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4644, allocations: 7.312 kB / 0.7859 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002575/0.4647, allocations: 121.8 kB / 0.7861 GB, free: 10.67 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.001307/0.466, allocations: 1.006 MB / 0.787 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000764/0.4668, allocations: 210.6 kB / 0.7872 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.4669, allocations: 71.17 kB / 0.7873 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.467, allocations: 0.9062 kB / 0.7873 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.467, allocations: 36.55 kB / 0.7873 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.467, allocations: 1.625 kB / 0.7873 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0005533/0.4676, allocations: 227 kB / 0.7876 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4676, allocations: 56.47 kB / 0.7876 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.4679, allocations: 219.8 kB / 0.7878 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.4679, allocations: 30.98 kB / 0.7879 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.4681, allocations: 148.8 kB / 0.788 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/0.4681, allocations: 39.58 kB / 0.788 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.4682, allocations: 57.2 kB / 0.7881 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4684, allocations: 328.2 kB / 0.7884 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.4687, allocations: 158.5 kB / 0.7886 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.469, allocations: 198.9 kB / 0.7887 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.4712, allocations: 0.8932 MB / 0.7896 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4712, allocations: 0.5 kB / 0.7896 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008897/0.4721, allocations: 0.4975 MB / 0.7901 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.4722, allocations: 74.33 kB / 0.7902 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4723, allocations: 1.859 kB / 0.7902 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4723, allocations: 2.562 kB / 0.7902 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.4725, allocations: 43.23 kB / 0.7902 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4725, allocations: 2.531 kB / 0.7902 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.4728, allocations: 40.25 kB / 0.7903 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.4728, allocations: 8.484 kB / 0.7903 GB, free: 7.98 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.0002465/0.473, allocations: 172.3 kB / 0.7904 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.4731, allocations: 17.73 kB / 0.7904 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.884e-05/0.4732, allocations: 21.7 kB / 0.7905 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4732, allocations: 1.703 kB / 0.7905 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4732, allocations: 5.094 kB / 0.7905 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4732, allocations: 0.6094 kB / 0.7905 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.4735, allocations: 234.9 kB / 0.7907 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.4735, allocations: 0 / 0.7907 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.4738, allocations: 37.48 kB / 0.7907 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4738, allocations: 5.688 kB / 0.7907 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.4738, allocations: 2.438 kB / 0.7907 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.4738, allocations: 5.094 kB / 0.7907 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4738, allocations: 0.5625 kB / 0.7907 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.4744, allocations: 350.9 kB / 0.7911 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.4745, allocations: 94.62 kB / 0.7912 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.4745, allocations: 2.844 kB / 0.7912 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.4746, allocations: 5.219 kB / 0.7912 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.4747, allocations: 12.94 kB / 0.7912 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.4747, allocations: 2.781 kB / 0.7912 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001527/0.4749, allocations: 151.3 kB / 0.7913 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4749, allocations: 0 / 0.7913 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000338/0.4752, allocations: 64.61 kB / 0.7914 GB, free: 7.148 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.0008976/0.4761, allocations: 0.8865 MB / 0.7923 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009006/0.477, allocations: 0.6094 MB / 0.7929 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4771, allocations: 0 / 0.7929 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.4772, allocations: 71.25 kB / 0.7929 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.4776, allocations: 32.66 kB / 0.793 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004697/0.4823, allocations: 3.422 MB / 0.7963 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.4827, allocations: 0.7361 MB / 0.797 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000139/0.4829, allocations: 39.23 kB / 0.7971 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.483, allocations: 51.41 kB / 0.7971 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.483, allocations: 0 / 0.7971 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/0.5103, allocations: 4.576 MB / 0.8016 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.632, allocations: 4.781 kB / 0.8016 GB, free: 1.242 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)