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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.875/0.875, allocations: 143.3 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 175.1 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.2 MB / 447.7 MB, free: 4.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008479, allocations: 100.2 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002163, allocations: 269.9 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.000454, allocations: 14.91 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1598, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6278/0.7877, allocations: 111.2 MB / 0.8823 GB, free: 32.07 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.788, allocations: 78.97 kB / 0.8824 GB, free: 32.07 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01276/0.8007, allocations: 3.786 MB / 0.8861 GB, free: 31.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 6.592e-06/0.8008, allocations: 4 kB / 0.8861 GB, free: 31.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.662e-05/0.8009, allocations: 3 kB / 0.8861 GB, free: 31.5 MB / 0.5417 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.001365/0.8023, allocations: 0.509 MB / 0.8866 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/0.8024, allocations: 12.38 kB / 0.8866 GB, free: 31.07 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001068/0.8025, allocations: 45.28 kB / 0.8867 GB, free: 31.03 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.8026, allocations: 20.81 kB / 0.8867 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005549/0.8031, allocations: 238.8 kB / 0.8869 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.8032, allocations: 9.156 kB / 0.8869 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/0.8033, allocations: 12.12 kB / 0.8869 GB, free: 30.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.8039, allocations: 206 kB / 0.8871 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.8039, allocations: 0 / 0.8871 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.596e-05/0.8039, allocations: 3.875 kB / 0.8871 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.804, allocations: 3.656 kB / 0.8871 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.8043, allocations: 121.4 kB / 0.8873 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.8058, allocations: 0.7624 MB / 0.888 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000872/0.8066, allocations: 210.6 kB / 0.8882 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.8067, allocations: 3.938 kB / 0.8882 GB, free: 30.16 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.8067, allocations: 31.17 kB / 0.8882 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/0.8067, allocations: 0 / 0.8882 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0006224/0.8073, allocations: 245.9 kB / 0.8885 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.8074, allocations: 52.41 kB / 0.8885 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.8077, allocations: 198.1 kB / 0.8887 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.8077, allocations: 27.08 kB / 0.8887 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.8078, allocations: 144.1 kB / 0.8889 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.8079, allocations: 41.73 kB / 0.8889 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.8079, allocations: 1.375 kB / 0.8889 GB, free: 29.74 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/0.808, allocations: 332.5 kB / 0.8892 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/0.8083, allocations: 164 kB / 0.8894 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002864/0.8086, allocations: 204.1 kB / 0.8896 GB, free: 29.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.809, allocations: 255.3 kB / 0.8898 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.809, allocations: 0 / 0.8898 GB, free: 29.33 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007305/0.8097, allocations: 0.5047 MB / 0.8903 GB, free: 29.25 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.8098, allocations: 64.81 kB / 0.8904 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.8098, allocations: 0 / 0.8904 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.8098, allocations: 2.688 kB / 0.8904 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.8101, allocations: 44.47 kB / 0.8904 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.8101, allocations: 8.25 kB / 0.8904 GB, free: 29.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/0.8103, allocations: 44.47 kB / 0.8905 GB, free: 29.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.8104, allocations: 5.625 kB / 0.8905 GB, free: 29.19 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: body.T[5]:VARIABLE(min = max(0.0, 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 = max(0.0, 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 = max(0.0, 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 = max(0.0, 0.0) start = body.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [5] body.T[1]:VARIABLE(min = max(0.0, 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002885/0.8107, allocations: 185.3 kB / 0.8907 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.8107, allocations: 15.81 kB / 0.8907 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.865e-05/0.8108, allocations: 21.58 kB / 0.8907 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.8108, allocations: 0 / 0.8907 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8108, allocations: 0 / 0.8907 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.8108, allocations: 0.75 kB / 0.8907 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.8111, allocations: 221.9 kB / 0.8909 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.8111, allocations: 7.891 kB / 0.8909 GB, free: 28.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.8114, allocations: 40.88 kB / 0.891 GB, free: 28.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.8114, allocations: 4 kB / 0.891 GB, free: 28.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.8114, allocations: 4.172 kB / 0.891 GB, free: 28.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.8114, allocations: 2.594 kB / 0.891 GB, free: 28.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8115, allocations: 0.7969 kB / 0.891 GB, free: 28.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005021/0.812, allocations: 353.1 kB / 0.8913 GB, free: 28.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.812, allocations: 108.2 kB / 0.8914 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.8121, allocations: 3.891 kB / 0.8914 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.8122, allocations: 15.47 kB / 0.8914 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.8123, allocations: 9.562 kB / 0.8914 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.8123, allocations: 3.938 kB / 0.8914 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001458/0.8125, allocations: 149.9 kB / 0.8916 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8125, allocations: 0 / 0.8916 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003406/0.8128, allocations: 59.94 kB / 0.8916 GB, free: 28.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007479/0.8136, allocations: 0.9031 MB / 0.8925 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007714/0.8143, allocations: 0.6148 MB / 0.8931 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8144, allocations: 0 / 0.8931 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.8145, allocations: 70.23 kB / 0.8932 GB, free: 27.74 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.8148, allocations: 26.84 kB / 0.8932 GB, free: 27.74 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.818, allocations: 1.877 MB / 0.895 GB, free: 42.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.8184, allocations: 0.7442 MB / 0.8958 GB, free: 41.55 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00015/0.8186, allocations: 40.7 kB / 0.8958 GB, free: 41.54 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.8187, allocations: 48.48 kB / 0.8959 GB, free: 41.54 MB / 0.5573 GB Notification: Performance of SimCode: time 4.589e-06/0.8187, allocations: 0 / 0.8959 GB, free: 41.54 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.8396, allocations: 4.395 MB / 0.9001 GB, free: 41.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.8398, allocations: 210.6 kB / 0.9003 GB, free: 40.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.804, allocations: 3.938 kB / 0.9003 GB, free: 40.96 MB / 0.5573 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1DNodes.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)