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.8574/0.8574, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001052/0.001052, allocations: 188.9 kB / 182.2 MB, free: 9.469 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.482/1.482, 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.0008933/0.0008932, allocations: 92.09 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.001653/0.001653, allocations: 281.6 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.484e-05/1.478e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4298, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1822/0.612, allocations: 110.4 MB / 0.8652 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.6122, allocations: 83.81 kB / 0.8652 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01543/0.6277, allocations: 6.067 MB / 0.8712 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6277, allocations: 8 kB / 0.8712 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.393e-05/0.6277, allocations: 4 kB / 0.8712 GB, free: 11.24 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.0008196/0.6285, allocations: 0.5101 MB / 0.8717 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.6286, allocations: 12.03 kB / 0.8717 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.6287, allocations: 31.62 kB / 0.8717 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.629, allocations: 214.3 kB / 0.8719 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/0.6291, allocations: 11.95 kB / 0.8719 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.6292, allocations: 16 kB / 0.8719 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003887/0.6295, allocations: 173.1 kB / 0.8721 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.63, allocations: 199.7 kB / 0.8723 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.63, allocations: 224 / 0.8723 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.63, allocations: 0 / 0.8723 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.63, allocations: 11.94 kB / 0.8723 GB, free: 9.98 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.6318, allocations: 1.022 MB / 0.8733 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007557/0.6325, allocations: 242.5 kB / 0.8735 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.216e-05/0.6326, allocations: 52.86 kB / 0.8736 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.6327, allocations: 3.938 kB / 0.8736 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.6327, allocations: 34.56 kB / 0.8736 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.6327, allocations: 0 / 0.8736 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0005702/0.6333, allocations: 222.3 kB / 0.8738 GB, free: 8.277 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.6334, allocations: 55.41 kB / 0.8739 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002911/0.6337, allocations: 246.5 kB / 0.8741 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.6337, allocations: 25.7 kB / 0.8742 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.6338, allocations: 215.3 kB / 0.8744 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.6339, allocations: 63.09 kB / 0.8744 GB, free: 7.645 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/0.6339, allocations: 4 kB / 0.8744 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.6341, allocations: 334.8 kB / 0.8747 GB, free: 7.305 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.6342, allocations: 80.31 kB / 0.8748 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/0.6344, allocations: 174.2 kB / 0.875 GB, free: 7.004 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.6346, allocations: 108.3 kB / 0.8751 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6346, allocations: 4 kB / 0.8751 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006956/0.6353, allocations: 376.7 kB / 0.8755 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.6353, allocations: 7.984 kB / 0.8755 GB, free: 6.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.6353, allocations: 8 kB / 0.8755 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003114/0.6357, allocations: 83.41 kB / 0.8755 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.6359, allocations: 83.83 kB / 0.8756 GB, free: 6.312 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/0.6397, allocations: 4.94 MB / 0.8805 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003047/0.64, allocations: 31.78 kB / 0.8805 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.64, allocations: 23.95 kB / 0.8805 GB, free: 0.8672 MB / 0.5417 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" 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" 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" 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" 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" 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 () * 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.000234/0.6403, allocations: 139.6 kB / 0.8806 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.6403, allocations: 27.62 kB / 0.8807 GB, free: 0.6953 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.6404, allocations: 30.03 kB / 0.8807 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.6404, allocations: 0 / 0.8807 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.6404, allocations: 7.938 kB / 0.8807 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6404, allocations: 0 / 0.8807 GB, free: 0.6562 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.6408, allocations: 274 kB / 0.881 GB, free: 360 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.6408, allocations: 0 / 0.881 GB, free: 360 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.641, allocations: 39.92 kB / 0.881 GB, free: 320 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002342/0.6412, allocations: 79.39 kB / 0.8811 GB, free: 228 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.6413, allocations: 0 / 0.8811 GB, free: 228 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003247/0.6445, allocations: 4.943 MB / 0.8859 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.6445, allocations: 8.016 kB / 0.8859 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005378/0.6451, allocations: 384.4 kB / 0.8863 GB, free: 10.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.6452, allocations: 108.8 kB / 0.8864 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.6452, allocations: 7.938 kB / 0.8864 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.6454, allocations: 4.125 kB / 0.8864 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.6455, allocations: 23.92 kB / 0.8864 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.6455, allocations: 0 / 0.8864 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001672/0.6457, allocations: 190 kB / 0.8866 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6457, allocations: 0 / 0.8866 GB, free: 10.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004937/0.6462, allocations: 103.8 kB / 0.8867 GB, free: 9.957 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 () * 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.0001655/0.6463, allocations: 111.2 kB / 0.8868 GB, free: 9.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007855/0.6471, allocations: 0.62 MB / 0.8874 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6471, allocations: 0.9375 kB / 0.8874 GB, free: 9.18 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005191/0.6477, allocations: 0.5029 MB / 0.8879 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.648, allocations: 40.88 kB / 0.8879 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009078/0.6489, allocations: 0.5992 MB / 0.8885 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.6492, allocations: 0.7755 MB / 0.8893 GB, free: 7.172 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001194/0.6493, allocations: 22.06 kB / 0.8893 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.6494, allocations: 23.44 kB / 0.8893 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of SimCode: time 3.31e-07/0.6494, allocations: 0 / 0.8893 GB, free: 7.129 MB / 0.5573 GB Notification: Performance of Templates: time 0.006605/0.656, allocations: 3.372 MB / 0.8926 GB, free: 3.797 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)