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.8022/0.8022, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.001226/0.001226, allocations: 179.4 kB / 187.3 MB, free: 11.87 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.677/1.677, allocations: 221.3 MB / 441.4 MB, free: 4.641 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.0008984/0.0008989, allocations: 89.73 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0018/0.0018, allocations: 276.8 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.13e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.459/0.459, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.5898, allocations: 111.1 MB / 0.8727 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.5901, allocations: 88.34 kB / 0.8728 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01602/0.6062, allocations: 6.148 MB / 0.8788 GB, free: 7.176 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.276e-06/0.6062, allocations: 4 kB / 0.8788 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.6062, allocations: 8 kB / 0.8788 GB, free: 7.164 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.0006657/0.6069, allocations: 0.5036 MB / 0.8793 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.6069, allocations: 11.97 kB / 0.8793 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.534e-05/0.607, allocations: 39.61 kB / 0.8793 GB, free: 6.562 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002047/0.6072, allocations: 218.5 kB / 0.8796 GB, free: 6.309 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.6073, allocations: 24.52 kB / 0.8796 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.6073, allocations: 24 kB / 0.8796 GB, free: 6.262 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.6078, allocations: 224.9 kB / 0.8798 GB, free: 6.035 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6078, allocations: 4 kB / 0.8798 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.6078, allocations: 8 kB / 0.8798 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.6078, allocations: 8 kB / 0.8798 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.6082, allocations: 186.2 kB / 0.88 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00162/0.6098, allocations: 1.073 MB / 0.8811 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.6106, allocations: 238.5 kB / 0.8813 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.6107, allocations: 69.02 kB / 0.8814 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.6107, allocations: 0 / 0.8814 GB, free: 4.336 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.6107, allocations: 30.56 kB / 0.8814 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.6108, allocations: 0 / 0.8814 GB, free: 4.297 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.0005604/0.6113, allocations: 239 kB / 0.8816 GB, free: 4.047 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.6114, allocations: 55.41 kB / 0.8817 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.6117, allocations: 267.4 kB / 0.8819 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.6117, allocations: 25.7 kB / 0.8819 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.6119, allocations: 223.3 kB / 0.8822 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.6119, allocations: 71.03 kB / 0.8822 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.6119, allocations: 8 kB / 0.8822 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6121, allocations: 338.8 kB / 0.8826 GB, free: 3.047 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.6122, allocations: 76.38 kB / 0.8826 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.6125, allocations: 190.1 kB / 0.8828 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.6127, allocations: 116.3 kB / 0.8829 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.6127, allocations: 0 / 0.8829 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006749/0.6134, allocations: 420.6 kB / 0.8833 GB, free: 2.188 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.6134, allocations: 9.094 kB / 0.8833 GB, free: 2.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6134, allocations: 4 kB / 0.8833 GB, free: 2.176 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003284/0.6137, allocations: 87.45 kB / 0.8834 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.614, allocations: 75.84 kB / 0.8835 GB, free: 2.004 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003702/0.6178, allocations: 5.123 MB / 0.8885 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000333/0.6181, allocations: 47.84 kB / 0.8885 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.59e-05/0.6181, allocations: 12 kB / 0.8886 GB, free: 12.29 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" 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.0002331/0.6184, allocations: 151.9 kB / 0.8887 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.13e-05/0.6185, allocations: 35.58 kB / 0.8887 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.199e-05/0.6185, allocations: 26.08 kB / 0.8888 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6185, allocations: 4 kB / 0.8888 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.6186, allocations: 0 / 0.8888 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6186, allocations: 3.984 kB / 0.8888 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.6189, allocations: 317.4 kB / 0.8891 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.619, allocations: 4 kB / 0.8891 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.6192, allocations: 27.98 kB / 0.8891 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/0.6194, allocations: 87.39 kB / 0.8892 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.6194, allocations: 3.953 kB / 0.8892 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003391/0.6228, allocations: 5.12 MB / 0.8942 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6228, allocations: 0 / 0.8942 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.6234, allocations: 416.5 kB / 0.8946 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.6235, allocations: 112.7 kB / 0.8947 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.6236, allocations: 0 / 0.8947 GB, free: 5.355 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.6238, allocations: 11.95 kB / 0.8947 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.6238, allocations: 19.97 kB / 0.8947 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.6238, allocations: 8 kB / 0.8947 GB, free: 5.316 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002003/0.624, allocations: 199.1 kB / 0.8949 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6241, allocations: 0 / 0.8949 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004755/0.6245, allocations: 107.8 kB / 0.895 GB, free: 5.02 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.000176/0.6247, allocations: 111.2 kB / 0.8951 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008318/0.6256, allocations: 0.6437 MB / 0.8958 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6256, allocations: 0 / 0.8958 GB, free: 4.207 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000596/0.6262, allocations: 0.522 MB / 0.8963 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.6265, allocations: 52.88 kB / 0.8963 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.6277, allocations: 0.6184 MB / 0.8969 GB, free: 2.938 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005216/0.6282, allocations: 0.7717 MB / 0.8977 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001511/0.6284, allocations: 22.06 kB / 0.8977 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.6285, allocations: 19.44 kB / 0.8977 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of SimCode: time 7.12e-07/0.6285, allocations: 0 / 0.8977 GB, free: 2.094 MB / 0.5573 GB Notification: Performance of Templates: time 0.007925/0.6364, allocations: 3.719 MB / 0.9013 GB, free: 14.43 MB / 0.573 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)