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.7422/0.7422, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 181 kB / 187.3 MB, free: 11.85 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.36/1.36, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.0009147/0.0009148, allocations: 100.5 kB / 0.5124 GB, free: 24.26 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001702/0.001702, allocations: 269 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.529e-05/4.532e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.415, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1181/0.5331, allocations: 111.1 MB / 0.8729 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.5334, allocations: 71.95 kB / 0.8729 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.5438, allocations: 3.806 MB / 0.8766 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5439, allocations: 0 / 0.8766 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.5439, allocations: 4 kB / 0.8766 GB, free: 9.539 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.0006403/0.5445, allocations: 499.7 kB / 0.8771 GB, free: 9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5446, allocations: 12.03 kB / 0.8771 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.875e-05/0.5447, allocations: 46.55 kB / 0.8772 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.5447, allocations: 23.66 kB / 0.8772 GB, free: 8.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.545, allocations: 235.3 kB / 0.8774 GB, free: 8.641 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.5451, allocations: 8 kB / 0.8774 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.5451, allocations: 23.94 kB / 0.8774 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.5455, allocations: 189.6 kB / 0.8776 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5455, allocations: 0 / 0.8776 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.5455, allocations: 8 kB / 0.8776 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.5455, allocations: 4 kB / 0.8776 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.5457, allocations: 108.6 kB / 0.8777 GB, free: 8.289 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.5467, allocations: 0.7624 MB / 0.8785 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/0.5474, allocations: 202.4 kB / 0.8787 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.5475, allocations: 64.83 kB / 0.8787 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.5476, allocations: 0 / 0.8787 GB, free: 7.184 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.5476, allocations: 30.56 kB / 0.8788 GB, free: 7.145 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.5476, allocations: 4 kB / 0.8788 GB, free: 7.141 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0003269/0.5479, allocations: 161.6 kB / 0.8789 GB, free: 6.977 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.548, allocations: 55.41 kB / 0.879 GB, free: 6.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.5482, allocations: 201.6 kB / 0.8792 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.5482, allocations: 29.7 kB / 0.8792 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.847e-05/0.5483, allocations: 136 kB / 0.8793 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/0.5484, allocations: 35.55 kB / 0.8794 GB, free: 6.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.5484, allocations: 4 kB / 0.8794 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5485, allocations: 334.8 kB / 0.8797 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.5487, allocations: 155.9 kB / 0.8798 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.549, allocations: 204.9 kB / 0.88 GB, free: 5.789 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.5492, allocations: 233.6 kB / 0.8803 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5493, allocations: 0 / 0.8803 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000645/0.5499, allocations: 498.9 kB / 0.8807 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-05/0.55, allocations: 69.59 kB / 0.8808 GB, free: 4.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.55, allocations: 4 kB / 0.8808 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.55, allocations: 0 / 0.8808 GB, free: 4.977 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.5502, allocations: 52.08 kB / 0.8809 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.5503, allocations: 0 / 0.8809 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.5504, allocations: 47.52 kB / 0.8809 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.5505, allocations: 8 kB / 0.8809 GB, free: 4.871 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" 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" 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" 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" 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" 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 () * 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.0002004/0.5507, allocations: 150 kB / 0.8811 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.5507, allocations: 11.81 kB / 0.8811 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.5508, allocations: 25.52 kB / 0.8811 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.5508, allocations: 0 / 0.8811 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5508, allocations: 0 / 0.8811 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5508, allocations: 7.938 kB / 0.8811 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.5511, allocations: 237.5 kB / 0.8813 GB, free: 4.395 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5511, allocations: 0 / 0.8813 GB, free: 4.395 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.5513, allocations: 35.97 kB / 0.8814 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5513, allocations: 0 / 0.8814 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5513, allocations: 3.984 kB / 0.8814 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5513, allocations: 4 kB / 0.8814 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5513, allocations: 0 / 0.8814 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.5518, allocations: 331.2 kB / 0.8817 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.242e-05/0.5518, allocations: 96.88 kB / 0.8818 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.5519, allocations: 0 / 0.8818 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.552, allocations: 11.92 kB / 0.8818 GB, free: 3.887 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.552, allocations: 12.05 kB / 0.8818 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.5521, allocations: 0 / 0.8818 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001244/0.5522, allocations: 152.4 kB / 0.8819 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5522, allocations: 0 / 0.8819 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002826/0.5525, allocations: 67.91 kB / 0.882 GB, free: 3.66 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 () * 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.000716/0.5532, allocations: 0.8801 MB / 0.8829 GB, free: 2.754 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006671/0.5539, allocations: 0.6019 MB / 0.8835 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5539, allocations: 0 / 0.8835 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.554, allocations: 63.91 kB / 0.8835 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.5542, allocations: 28.73 kB / 0.8835 GB, free: 2.051 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5554, allocations: 0.6803 MB / 0.8842 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.5558, allocations: 0.7438 MB / 0.8849 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.5559, allocations: 40.73 kB / 0.885 GB, free: 0.5234 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.952e-05/0.556, allocations: 51.42 kB / 0.885 GB, free: 484 kB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.556, allocations: 0 / 0.885 GB, free: 484 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/0.5712, allocations: 4.468 MB / 0.8894 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.5715, allocations: 171.8 kB / 0.8895 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.189, allocations: 0 / 0.8895 GB, free: 11.99 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)