Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.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.HeatConduction1D,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D",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 1.008/1.008, allocations: 143.3 MB / 158.3 MB, free: 5.773 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.001147/0.001147, allocations: 177 kB / 191.5 MB, free: 5.762 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.6/1.6, allocations: 223.2 MB / 447.7 MB, free: 4.828 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.001089/0.001089, allocations: 99.7 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001851/0.001851, allocations: 266.4 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004923, allocations: 18.44 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1856, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5515/0.7371, allocations: 111.1 MB / 0.8823 GB, free: 32.21 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.7374, allocations: 78.83 kB / 0.8824 GB, free: 32.21 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.753, allocations: 6.145 MB / 0.8884 GB, free: 31.28 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.774e-06/0.753, allocations: 0 / 0.8884 GB, free: 31.28 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.753, allocations: 9 kB / 0.8884 GB, free: 31.28 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000605/0.7536, allocations: 0.5455 MB / 0.8889 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.7537, allocations: 8.188 kB / 0.8889 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.096e-05/0.7538, allocations: 64.5 kB / 0.889 GB, free: 30.79 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.7538, allocations: 32.59 kB / 0.889 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.7539, allocations: 215.4 kB / 0.8892 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.754, allocations: 23.09 kB / 0.8892 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.754, allocations: 27.59 kB / 0.8893 GB, free: 30.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.7544, allocations: 236.3 kB / 0.8895 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7545, allocations: 0.7031 kB / 0.8895 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.7545, allocations: 14.5 kB / 0.8895 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.7545, allocations: 11.91 kB / 0.8895 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003537/0.7549, allocations: 213 kB / 0.8897 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.7563, allocations: 1.069 MB / 0.8908 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007541/0.7571, allocations: 258.5 kB / 0.891 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.7571, allocations: 2.844 kB / 0.891 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.7571, allocations: 30.56 kB / 0.891 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.7571, allocations: 0 / 0.891 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0009924/0.7581, allocations: 0.6611 MB / 0.8917 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.7581, allocations: 54.31 kB / 0.8917 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.7584, allocations: 271.5 kB / 0.892 GB, free: 29.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.7584, allocations: 25.7 kB / 0.892 GB, free: 29.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.7585, allocations: 218.6 kB / 0.8922 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.7586, allocations: 69.98 kB / 0.8923 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.376e-05/0.7586, allocations: 6.031 kB / 0.8923 GB, free: 28.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/0.7587, allocations: 338.9 kB / 0.8926 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.7589, allocations: 82.09 kB / 0.8927 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.7591, allocations: 195 kB / 0.8929 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.7593, allocations: 128.9 kB / 0.893 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.7593, allocations: 0 / 0.893 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006741/0.76, allocations: 441.4 kB / 0.8934 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.76, allocations: 5.906 kB / 0.8934 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.76, allocations: 2.594 kB / 0.8934 GB, free: 28.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003216/0.7603, allocations: 84.75 kB / 0.8935 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.7606, allocations: 78.7 kB / 0.8936 GB, free: 28.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004138/0.7648, allocations: 5.158 MB / 0.8986 GB, free: 39.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.7653, allocations: 42.77 kB / 0.8987 GB, free: 39.18 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.7653, allocations: 15.91 kB / 0.8987 GB, free: 39.18 MB / 0.5573 GB Warning: Assuming fixed start value for the following 5 variables: body5.T:VARIABLE(min = max(0.0, 0.0) start = body5.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body4.T:VARIABLE(min = max(0.0, 0.0) start = body4.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body3.T:VARIABLE(min = max(0.0, 0.0) start = body3.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body2.T:VARIABLE(min = max(0.0, 0.0) start = body2.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real body1.T:VARIABLE(min = max(0.0, 0.0) start = body1.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003454/0.7657, allocations: 196.1 kB / 0.8989 GB, free: 39.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.7657, allocations: 27.45 kB / 0.8989 GB, free: 39.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.7658, allocations: 34.66 kB / 0.8989 GB, free: 39.01 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.7658, allocations: 2.75 kB / 0.8989 GB, free: 39.01 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7658, allocations: 0 / 0.8989 GB, free: 39.01 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.7658, allocations: 0 / 0.8989 GB, free: 39.01 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000344/0.7662, allocations: 314.4 kB / 0.8992 GB, free: 38.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.7662, allocations: 0 / 0.8992 GB, free: 38.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.7664, allocations: 33.16 kB / 0.8993 GB, free: 38.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002259/0.7666, allocations: 83.97 kB / 0.8994 GB, free: 38.78 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.7666, allocations: 19.64 kB / 0.8994 GB, free: 38.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003492/0.7701, allocations: 5.152 MB / 0.9044 GB, free: 33.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7702, allocations: 0.75 kB / 0.9044 GB, free: 33.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/0.7709, allocations: 425.7 kB / 0.9048 GB, free: 33.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.7711, allocations: 99.72 kB / 0.9049 GB, free: 33.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.7711, allocations: 5.469 kB / 0.9049 GB, free: 33.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.7713, allocations: 15.64 kB / 0.9049 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.7714, allocations: 25.19 kB / 0.9049 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.7714, allocations: 3.562 kB / 0.905 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002613/0.7717, allocations: 208.2 kB / 0.9052 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7717, allocations: 0 / 0.9052 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005786/0.7723, allocations: 92.44 kB / 0.9052 GB, free: 33.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (body1.T,body2.T,body3.T,body4.T,body5.T) * 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 (12): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001031/0.7733, allocations: 0.982 MB / 0.9062 GB, free: 32.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008775/0.7742, allocations: 0.665 MB / 0.9068 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7742, allocations: 0 / 0.9068 GB, free: 32.11 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005918/0.7748, allocations: 0.5404 MB / 0.9074 GB, free: 31.66 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.7751, allocations: 45.3 kB / 0.9074 GB, free: 31.66 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.7787, allocations: 4.306 MB / 0.9116 GB, free: 28.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.7791, allocations: 0.7719 MB / 0.9124 GB, free: 27.64 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001647/0.7792, allocations: 21.05 kB / 0.9124 GB, free: 27.63 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.7794, allocations: 86.2 kB / 0.9125 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of SimCode: time 8.81e-07/0.7794, allocations: 5.469 kB / 0.9125 GB, free: 27.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.8002, allocations: 6.467 MB / 0.9188 GB, free: 27.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.8005, allocations: 220.9 kB / 0.919 GB, free: 26.91 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.889, allocations: 0 / 0.919 GB, free: 26.91 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatConduction_Examples_HeatConduction1D.fmu > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)