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.001715/0.001715, allocations: 108 kB / 15.61 MB, free: 152 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.002331/0.002331, allocations: 196.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.175/2.175, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003892/0.003892, allocations: 282.5 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002393/0.002393, allocations: 108.3 kB / 0.5953 GB, free: 27.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1923, allocations: 86.98 MB / 0.6803 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes): time 0.00443/0.1968, allocations: 1.828 MB / 0.6821 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1984, allocations: 0.6886 MB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.1986, allocations: 7.938 kB / 0.6828 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000264/0.1989, allocations: 31.77 kB / 0.6828 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.1992, allocations: 59.66 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002652/0.1995, allocations: 63.84 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000394/0.1999, allocations: 271.2 kB / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2001, allocations: 57.3 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.2003, allocations: 111.7 kB / 0.6833 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.2006, allocations: 107.7 kB / 0.6834 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.027e-05/0.2006, allocations: 16 kB / 0.6834 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.2007, allocations: 20 kB / 0.6835 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.534e-05/0.2008, allocations: 55.81 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.2009, allocations: 103.6 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002899/0.2012, allocations: 235.3 kB / 0.6838 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2012, allocations: 0 / 0.6838 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2013, allocations: 0 / 0.6838 GB, free: 12.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.2013, allocations: 0 / 0.6838 GB, free: 12.97 MB / 494.1 MB 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.001126/0.2024, allocations: 0.5472 MB / 0.6844 GB, free: 12.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.2024, allocations: 8.031 kB / 0.6844 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.91e-05/0.2025, allocations: 50.67 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.2026, allocations: 16.75 kB / 0.6844 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.2029, allocations: 220.1 kB / 0.6846 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.2029, allocations: 8.375 kB / 0.6847 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.2029, allocations: 16.38 kB / 0.6847 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.2033, allocations: 209.4 kB / 0.6849 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2034, allocations: 3.938 kB / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.2034, allocations: 4 kB / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.2034, allocations: 4 kB / 0.6849 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.2037, allocations: 128.5 kB / 0.685 GB, free: 11.65 MB / 494.1 MB 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.001273/0.2049, allocations: 1.002 MB / 0.686 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007516/0.2057, allocations: 214.4 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.2058, allocations: 64.81 kB / 0.6863 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.2059, allocations: 11.94 kB / 0.6863 GB, free: 10.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.2059, allocations: 34.56 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.2059, allocations: 0 / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005266/0.2064, allocations: 225.4 kB / 0.6865 GB, free: 9.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.2065, allocations: 55.41 kB / 0.6866 GB, free: 9.883 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.2067, allocations: 215.1 kB / 0.6868 GB, free: 9.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.2068, allocations: 29.69 kB / 0.6868 GB, free: 9.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.2069, allocations: 140.1 kB / 0.6869 GB, free: 9.488 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.2069, allocations: 39.55 kB / 0.687 GB, free: 9.449 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.2071, allocations: 57.69 kB / 0.687 GB, free: 9.387 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2072, allocations: 326.8 kB / 0.6873 GB, free: 9.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.2075, allocations: 155.9 kB / 0.6875 GB, free: 8.906 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.2078, allocations: 206.2 kB / 0.6877 GB, free: 8.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.2096, allocations: 0.901 MB / 0.6886 GB, free: 7.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2096, allocations: 0 / 0.6886 GB, free: 7.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006907/0.2103, allocations: 0.5047 MB / 0.6891 GB, free: 7.234 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/0.2104, allocations: 61.67 kB / 0.6891 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2104, allocations: 0 / 0.6891 GB, free: 7.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2104, allocations: 4 kB / 0.6891 GB, free: 7.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.2106, allocations: 56.06 kB / 0.6892 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2106, allocations: 0 / 0.6892 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.2109, allocations: 35.67 kB / 0.6892 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.2109, allocations: 12 kB / 0.6892 GB, free: 7.062 MB / 494.1 MB 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.0002198/0.2111, allocations: 179.1 kB / 0.6894 GB, free: 6.883 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.254e-05/0.2112, allocations: 11.81 kB / 0.6894 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.69e-05/0.2112, allocations: 21.41 kB / 0.6894 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.2112, allocations: 0 / 0.6894 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2113, allocations: 0 / 0.6894 GB, free: 6.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.2113, allocations: 8 kB / 0.6894 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.2115, allocations: 233.4 kB / 0.6896 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2115, allocations: 3.938 kB / 0.6897 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.2118, allocations: 35.97 kB / 0.6897 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2118, allocations: 0 / 0.6897 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.2118, allocations: 0 / 0.6897 GB, free: 6.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.2118, allocations: 4 kB / 0.6897 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2118, allocations: 0 / 0.6897 GB, free: 6.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.2124, allocations: 355.1 kB / 0.69 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/0.2125, allocations: 92.91 kB / 0.6901 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.2126, allocations: 8.047 kB / 0.6901 GB, free: 6.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/0.2128, allocations: 4 kB / 0.6901 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.465e-05/0.2129, allocations: 7.984 kB / 0.6901 GB, free: 6.027 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.2129, allocations: 0 / 0.6901 GB, free: 6.027 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.2131, allocations: 161.1 kB / 0.6903 GB, free: 5.871 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2131, allocations: 0 / 0.6903 GB, free: 5.871 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005299/0.2137, allocations: 52 kB / 0.6903 GB, free: 5.82 MB / 494.1 MB 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.0009013/0.2146, allocations: 0.8917 MB / 0.6912 GB, free: 4.902 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007966/0.2154, allocations: 0.6128 MB / 0.6918 GB, free: 4.277 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2154, allocations: 4 kB / 0.6918 GB, free: 4.273 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.2156, allocations: 71.88 kB / 0.6919 GB, free: 4.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.2159, allocations: 34.5 kB / 0.6919 GB, free: 4.172 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004447/0.2204, allocations: 3.412 MB / 0.6952 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.2208, allocations: 0.7436 MB / 0.696 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.2209, allocations: 36.61 kB / 0.696 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.221, allocations: 47.42 kB / 0.6961 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.221, allocations: 0 / 0.6961 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.2453, allocations: 4.505 MB / 0.7005 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.38, allocations: 8 kB / 0.7005 GB, free: 11.42 MB / 0.4981 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)