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.9471/0.9471, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001117/0.001117, allocations: 180.6 kB / 182.2 MB, free: 9.441 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.455/1.455, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0008756/0.0008756, allocations: 91.62 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001642/0.001642, allocations: 279.6 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.795e-05, allocations: 4 kB / 0.6766 GB, free: 12.74 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4745, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1404/0.6149, allocations: 110.4 MB / 0.8653 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.6152, allocations: 79.95 kB / 0.8654 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01081/0.626, allocations: 3.772 MB / 0.8691 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6261, allocations: 0 / 0.8691 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.6261, allocations: 4 kB / 0.8691 GB, free: 13.46 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.0006283/0.6267, allocations: 499.7 kB / 0.8695 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.6268, allocations: 8.031 kB / 0.8695 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.6268, allocations: 27.72 kB / 0.8696 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003322/0.6272, allocations: 227.2 kB / 0.8698 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.6272, allocations: 4 kB / 0.8698 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.6273, allocations: 16 kB / 0.8698 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001868/0.6274, allocations: 95.95 kB / 0.8699 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.6277, allocations: 180.6 kB / 0.8701 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.6277, allocations: 0 / 0.8701 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.6278, allocations: 0 / 0.8701 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6278, allocations: 4 kB / 0.8701 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009128/0.6287, allocations: 0.7196 MB / 0.8708 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006625/0.6294, allocations: 196.5 kB / 0.871 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.6295, allocations: 64.83 kB / 0.871 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.6295, allocations: 3.938 kB / 0.871 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.6295, allocations: 34.7 kB / 0.8711 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.6295, allocations: 7.938 kB / 0.8711 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0002944/0.6298, allocations: 153.5 kB / 0.8712 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.6299, allocations: 55.41 kB / 0.8713 GB, free: 11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.6301, allocations: 181.7 kB / 0.8714 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.6301, allocations: 29.69 kB / 0.8715 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.6302, allocations: 139.9 kB / 0.8716 GB, free: 10.63 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.6302, allocations: 31.55 kB / 0.8716 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.6302, allocations: 4 kB / 0.8716 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.6304, allocations: 334.8 kB / 0.872 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.6305, allocations: 144 kB / 0.8721 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.6308, allocations: 197.1 kB / 0.8723 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.631, allocations: 179.8 kB / 0.8725 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.631, allocations: 0 / 0.8725 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005438/0.6316, allocations: 433.2 kB / 0.8729 GB, free: 9.301 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/0.6316, allocations: 57.67 kB / 0.8729 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6316, allocations: 0 / 0.8729 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.6317, allocations: 11.92 kB / 0.8729 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.6319, allocations: 48.08 kB / 0.873 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6319, allocations: 8 kB / 0.873 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.6321, allocations: 31.67 kB / 0.873 GB, free: 9.141 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.6321, allocations: 8 kB / 0.873 GB, free: 9.133 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.0001869/0.6323, allocations: 145.4 kB / 0.8732 GB, free: 8.98 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002277/0.6325, allocations: 157.4 kB / 0.8733 GB, free: 8.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.6326, allocations: 19.73 kB / 0.8733 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.942e-05/0.6326, allocations: 21.84 kB / 0.8734 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.145e-06/0.6326, allocations: 0 / 0.8734 GB, free: 8.785 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6326, allocations: 4 kB / 0.8734 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.6327, allocations: 4 kB / 0.8734 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.6328, allocations: 190.1 kB / 0.8735 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.6329, allocations: 11.94 kB / 0.8736 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/0.6331, allocations: 39.97 kB / 0.8736 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6331, allocations: 0 / 0.8736 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.6331, allocations: 0 / 0.8736 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.6331, allocations: 4 kB / 0.8736 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.6331, allocations: 0 / 0.8736 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.6335, allocations: 323.2 kB / 0.8739 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.6336, allocations: 92.95 kB / 0.874 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.6336, allocations: 7.938 kB / 0.874 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.6337, allocations: 7.906 kB / 0.874 GB, free: 8.043 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.6338, allocations: 11.92 kB / 0.874 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.6338, allocations: 0 / 0.874 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001009/0.6339, allocations: 136.6 kB / 0.8741 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6339, allocations: 0 / 0.8741 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002872/0.6342, allocations: 59.94 kB / 0.8742 GB, free: 7.84 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.0006499/0.6349, allocations: 0.8761 MB / 0.8751 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006028/0.6355, allocations: 0.589 MB / 0.8756 GB, free: 6.336 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6355, allocations: 0 / 0.8756 GB, free: 6.336 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.655e-05/0.6356, allocations: 63.95 kB / 0.8757 GB, free: 6.273 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.6358, allocations: 20.17 kB / 0.8757 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.637, allocations: 0.6792 MB / 0.8764 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.6373, allocations: 0.7396 MB / 0.8771 GB, free: 4.773 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.6374, allocations: 40.84 kB / 0.8771 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.6375, allocations: 43.42 kB / 0.8772 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.6375, allocations: 0 / 0.8772 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.454/1.092, allocations: 3.635 MB / 0.8807 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/1.092, allocations: 159.5 kB / 0.8809 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/3.017, allocations: 0 / 0.8809 GB, free: 0.8945 MB / 0.5417 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)