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: translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") translateModel(BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7869/0.7869, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001047/0.001047, allocations: 180.7 kB / 187.2 MB, free: 11.89 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.552/1.552, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008976/0.0008976, allocations: 101.9 kB / 0.5124 GB, free: 24.12 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 275.3 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.056e-05/5.067e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4671, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.5955, allocations: 111.1 MB / 0.8727 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.5958, allocations: 83.83 kB / 0.8728 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0108/0.6066, allocations: 3.806 MB / 0.8765 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6066, allocations: 4 kB / 0.8765 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.6066, allocations: 4 kB / 0.8765 GB, free: 9.547 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.0006543/0.6073, allocations: 491.7 kB / 0.877 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.6074, allocations: 12.03 kB / 0.877 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.333e-05/0.6074, allocations: 19.8 kB / 0.877 GB, free: 8.984 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.6078, allocations: 239.1 kB / 0.8773 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.6078, allocations: 8 kB / 0.8773 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.555e-05/0.6079, allocations: 16 kB / 0.8773 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.6082, allocations: 193.6 kB / 0.8775 GB, free: 8.48 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.6082, allocations: 4 kB / 0.8775 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.6083, allocations: 4 kB / 0.8775 GB, free: 8.473 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.6083, allocations: 8 kB / 0.8775 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.6085, allocations: 108.6 kB / 0.8776 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.6095, allocations: 0.7546 MB / 0.8783 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.6102, allocations: 202.4 kB / 0.8785 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.6103, allocations: 68.83 kB / 0.8786 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.6104, allocations: 0 / 0.8786 GB, free: 7.258 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.6104, allocations: 38.5 kB / 0.8786 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.6104, allocations: 0 / 0.8786 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.0003281/0.6107, allocations: 161.4 kB / 0.8788 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.6108, allocations: 51.41 kB / 0.8788 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.611, allocations: 197.6 kB / 0.879 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.611, allocations: 29.7 kB / 0.8791 GB, free: 6.75 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.6111, allocations: 144.1 kB / 0.8792 GB, free: 6.605 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.6111, allocations: 35.55 kB / 0.8792 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.6112, allocations: 4 kB / 0.8792 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6113, allocations: 330.8 kB / 0.8795 GB, free: 6.234 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.6115, allocations: 148 kB / 0.8797 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.6117, allocations: 212.9 kB / 0.8799 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.612, allocations: 241.5 kB / 0.8801 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.612, allocations: 0 / 0.8801 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006297/0.6127, allocations: 499 kB / 0.8806 GB, free: 5.121 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.489e-05/0.6127, allocations: 65.66 kB / 0.8807 GB, free: 5.051 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.6128, allocations: 7.938 kB / 0.8807 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.6128, allocations: 4 kB / 0.8807 GB, free: 5.039 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002466/0.613, allocations: 47.92 kB / 0.8807 GB, free: 4.992 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.6131, allocations: 3.984 kB / 0.8807 GB, free: 4.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.6132, allocations: 39.53 kB / 0.8808 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.6133, allocations: 15.94 kB / 0.8808 GB, free: 4.934 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.0002088/0.6135, allocations: 153.3 kB / 0.8809 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.6135, allocations: 15.81 kB / 0.8809 GB, free: 4.762 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.611e-05/0.6136, allocations: 25.52 kB / 0.881 GB, free: 4.734 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6136, allocations: 4 kB / 0.881 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6136, allocations: 0 / 0.881 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.6136, allocations: 0 / 0.881 GB, free: 4.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.6139, allocations: 217.6 kB / 0.8812 GB, free: 4.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6139, allocations: 3.953 kB / 0.8812 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.6141, allocations: 39.97 kB / 0.8812 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.6141, allocations: 0 / 0.8812 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.6142, allocations: 4 kB / 0.8812 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.6142, allocations: 4 kB / 0.8812 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6142, allocations: 0 / 0.8812 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.6146, allocations: 333.8 kB / 0.8815 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.6146, allocations: 96.94 kB / 0.8816 GB, free: 3.965 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.6147, allocations: 3.984 kB / 0.8816 GB, free: 3.961 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.6148, allocations: 11.94 kB / 0.8816 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.6149, allocations: 3.984 kB / 0.8816 GB, free: 3.945 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.6149, allocations: 16.12 kB / 0.8817 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000122/0.615, allocations: 148.4 kB / 0.8818 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.615, allocations: 0 / 0.8818 GB, free: 3.785 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002969/0.6153, allocations: 63.91 kB / 0.8819 GB, free: 3.723 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.0001738/0.6155, allocations: 111.2 kB / 0.882 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00065/0.6162, allocations: 0.5989 MB / 0.8826 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6162, allocations: 0 / 0.8826 GB, free: 2.996 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.6163, allocations: 67.89 kB / 0.8826 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.6165, allocations: 32.22 kB / 0.8826 GB, free: 2.898 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.6176, allocations: 0.6041 MB / 0.8832 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.6179, allocations: 0.7477 MB / 0.884 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001094/0.618, allocations: 40.73 kB / 0.884 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.6181, allocations: 15.44 kB / 0.884 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.6181, allocations: 0 / 0.884 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of Templates: time 0.005343/0.6234, allocations: 2.412 MB / 0.8864 GB, free: 15.06 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.makefile (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 & ./BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatConduction.Examples.HeatConduction1DNodes.pipe 2>&1)