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: translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8688/0.8688, allocations: 143.4 MB / 158.3 MB, free: 5.75 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.00105/0.00105, allocations: 182 kB / 191.5 MB, free: 5.754 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.445/1.445, allocations: 223.2 MB / 447.7 MB, free: 4.781 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.000977/0.0009768, allocations: 91.77 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00185/0.00185, allocations: 284.5 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000432/0.0004321, allocations: 11.06 kB / 0.6928 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 82.8 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.6437, allocations: 111.1 MB / 0.8822 GB, free: 32.16 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.644, allocations: 87.3 kB / 0.8823 GB, free: 32.16 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01502/0.659, allocations: 6.146 MB / 0.8883 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.863e-06/0.659, allocations: 0 / 0.8883 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.659, allocations: 3.438 kB / 0.8883 GB, free: 31.22 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.0007328/0.6598, allocations: 0.5405 MB / 0.8888 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.6599, allocations: 11.22 kB / 0.8888 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.78e-05/0.6599, allocations: 33.38 kB / 0.8889 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.6601, allocations: 211.8 kB / 0.8891 GB, free: 30.53 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.6602, allocations: 28.31 kB / 0.8891 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.6603, allocations: 24.09 kB / 0.8891 GB, free: 30.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005269/0.6608, allocations: 247.4 kB / 0.8894 GB, free: 30.48 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.6608, allocations: 0 / 0.8894 GB, free: 30.48 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.6608, allocations: 10.06 kB / 0.8894 GB, free: 30.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.6609, allocations: 5.5 kB / 0.8894 GB, free: 30.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004155/0.6613, allocations: 207.5 kB / 0.8896 GB, free: 30.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001607/0.6629, allocations: 1.07 MB / 0.8906 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007783/0.6637, allocations: 253.2 kB / 0.8909 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.6637, allocations: 10.41 kB / 0.8909 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.6638, allocations: 38.17 kB / 0.8909 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.6638, allocations: 3.938 kB / 0.8909 GB, free: 29.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.00106/0.6648, allocations: 0.6529 MB / 0.8916 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/0.6649, allocations: 54.16 kB / 0.8916 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.6651, allocations: 273.9 kB / 0.8919 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.6652, allocations: 29.45 kB / 0.8919 GB, free: 29.08 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.6653, allocations: 220 kB / 0.8921 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.6654, allocations: 61.34 kB / 0.8922 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.6654, allocations: 6.781 kB / 0.8922 GB, free: 28.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.6655, allocations: 337.8 kB / 0.8925 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.6656, allocations: 85.27 kB / 0.8926 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.6658, allocations: 192.9 kB / 0.8928 GB, free: 28.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.666, allocations: 133.8 kB / 0.8929 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.666, allocations: 0 / 0.8929 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006543/0.6667, allocations: 431.1 kB / 0.8933 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.6667, allocations: 5.031 kB / 0.8933 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.6667, allocations: 6.719 kB / 0.8933 GB, free: 28.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/0.667, allocations: 90.02 kB / 0.8934 GB, free: 28.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.6673, allocations: 71.08 kB / 0.8935 GB, free: 28.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003765/0.6711, allocations: 5.163 MB / 0.8985 GB, free: 39.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.6714, allocations: 43.56 kB / 0.8985 GB, free: 39.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.6715, allocations: 13.38 kB / 0.8986 GB, free: 39.17 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.0003389/0.6718, allocations: 192.5 kB / 0.8987 GB, free: 39.03 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.6719, allocations: 25.33 kB / 0.8988 GB, free: 39.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.6719, allocations: 35.09 kB / 0.8988 GB, free: 39 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.672, allocations: 6.625 kB / 0.8988 GB, free: 39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.672, allocations: 2.906 kB / 0.8988 GB, free: 39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.672, allocations: 0 / 0.8988 GB, free: 39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.6723, allocations: 313 kB / 0.8991 GB, free: 38.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.6723, allocations: 4 kB / 0.8991 GB, free: 38.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.6725, allocations: 31.59 kB / 0.8991 GB, free: 38.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.6727, allocations: 84.14 kB / 0.8992 GB, free: 38.77 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.6728, allocations: 0 / 0.8992 GB, free: 38.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003228/0.676, allocations: 5.159 MB / 0.9043 GB, free: 33.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.676, allocations: 0.5938 kB / 0.9043 GB, free: 33.69 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007387/0.6768, allocations: 430.7 kB / 0.9047 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.6769, allocations: 102.2 kB / 0.9048 GB, free: 33.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.6769, allocations: 4.531 kB / 0.9048 GB, free: 33.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6771, allocations: 18.66 kB / 0.9048 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.6772, allocations: 19.48 kB / 0.9048 GB, free: 33.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.6772, allocations: 3.5 kB / 0.9048 GB, free: 33.37 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002514/0.6774, allocations: 212.9 kB / 0.905 GB, free: 33.29 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6774, allocations: 0 / 0.905 GB, free: 33.29 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005719/0.678, allocations: 101.5 kB / 0.9051 GB, free: 33.29 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.0001905/0.6782, allocations: 112 kB / 0.9052 GB, free: 33.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008956/0.6791, allocations: 0.6661 MB / 0.9059 GB, free: 32.74 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6791, allocations: 5.375 kB / 0.9059 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005691/0.6797, allocations: 0.5394 MB / 0.9064 GB, free: 32.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.6801, allocations: 53.17 kB / 0.9065 GB, free: 32.28 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.6813, allocations: 0.925 MB / 0.9074 GB, free: 31.68 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.6817, allocations: 0.7704 MB / 0.9081 GB, free: 30.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.6818, allocations: 26.23 kB / 0.9081 GB, free: 30.97 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.6819, allocations: 19.75 kB / 0.9082 GB, free: 30.96 MB / 0.5573 GB Notification: Performance of SimCode: time 3.41e-07/0.6819, allocations: 0 / 0.9082 GB, free: 30.96 MB / 0.5573 GB Notification: Performance of Templates: time 0.007858/0.6897, allocations: 3.67 MB / 0.9117 GB, free: 30.73 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1D.pipe 2>&1)