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.7929/0.7929, allocations: 143.4 MB / 158.3 MB, free: 5.77 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.001448/0.001447, allocations: 183.5 kB / 191.5 MB, free: 5.734 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.562/1.562, allocations: 223.2 MB / 447.7 MB, free: 4.707 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.0008739/0.000874, allocations: 95.48 kB / 0.5188 GB, free: 1.059 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001599/0.001599, allocations: 272.2 kB / 0.6005 GB, free: 48.71 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004074, allocations: 15.75 kB / 0.6929 GB, free: 59.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 82.8 MB / 0.7737 GB, free: 13.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5369/0.713, allocations: 111.2 MB / 0.8823 GB, free: 32.12 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.7133, allocations: 83.5 kB / 0.8823 GB, free: 32.12 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01215/0.7255, allocations: 3.798 MB / 0.8861 GB, free: 31.55 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7255, allocations: 0 / 0.8861 GB, free: 31.55 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.7256, allocations: 3.5 kB / 0.8861 GB, free: 31.55 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.0007232/0.7263, allocations: 0.5062 MB / 0.8866 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.7264, allocations: 9.484 kB / 0.8866 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.498e-05/0.7264, allocations: 16.41 kB / 0.8866 GB, free: 31.12 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.7268, allocations: 237.2 kB / 0.8868 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.7268, allocations: 12.98 kB / 0.8868 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.686e-05/0.7268, allocations: 18.34 kB / 0.8868 GB, free: 30.89 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.7272, allocations: 199.4 kB / 0.887 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.7272, allocations: 0 / 0.887 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.7273, allocations: 6.406 kB / 0.887 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.7273, allocations: 2.844 kB / 0.887 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.7275, allocations: 130.5 kB / 0.8872 GB, free: 30.82 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009826/0.7285, allocations: 0.7507 MB / 0.8879 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/0.7293, allocations: 209.3 kB / 0.8881 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.7293, allocations: 0 / 0.8881 GB, free: 30.26 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.7294, allocations: 40.11 kB / 0.8881 GB, free: 30.22 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.7294, allocations: 0 / 0.8881 GB, free: 30.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8): time 0.000492/0.7299, allocations: 236.4 kB / 0.8884 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.7299, allocations: 59.86 kB / 0.8884 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.7301, allocations: 195.3 kB / 0.8886 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.7301, allocations: 33.45 kB / 0.8886 GB, free: 29.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.7302, allocations: 138.1 kB / 0.8888 GB, free: 29.87 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.7302, allocations: 37.16 kB / 0.8888 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.7302, allocations: 6.531 kB / 0.8888 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.824e-05/0.7303, allocations: 331.7 kB / 0.8891 GB, free: 29.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.7305, allocations: 157.8 kB / 0.8893 GB, free: 29.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.7308, allocations: 212.8 kB / 0.8895 GB, free: 29.48 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.7311, allocations: 244.8 kB / 0.8897 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.7311, allocations: 3.953 kB / 0.8897 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006752/0.7318, allocations: 0.5017 MB / 0.8902 GB, free: 29.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.15e-05/0.7319, allocations: 63.17 kB / 0.8903 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.7319, allocations: 1.984 kB / 0.8903 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.7319, allocations: 2.75 kB / 0.8903 GB, free: 29.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.7321, allocations: 47 kB / 0.8903 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7322, allocations: 6.906 kB / 0.8903 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.7324, allocations: 44.25 kB / 0.8904 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.7324, allocations: 8.25 kB / 0.8904 GB, free: 29.29 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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" fixed = true 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 () * Number of clocked 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.0002359/0.7326, allocations: 182.9 kB / 0.8905 GB, free: 29.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.593e-05/0.7327, allocations: 16.62 kB / 0.8906 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.351e-05/0.7327, allocations: 23.19 kB / 0.8906 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.7327, allocations: 0 / 0.8906 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7328, allocations: 0 / 0.8906 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.7328, allocations: 4.75 kB / 0.8906 GB, free: 29.14 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.733, allocations: 226.2 kB / 0.8908 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.733, allocations: 4 kB / 0.8908 GB, free: 28.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/0.7333, allocations: 39.91 kB / 0.8908 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7333, allocations: 3.234 kB / 0.8908 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.7333, allocations: 7.531 kB / 0.8908 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.7333, allocations: 0.5156 kB / 0.8908 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7333, allocations: 0 / 0.8908 GB, free: 28.94 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004453/0.7338, allocations: 353.7 kB / 0.8912 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.7338, allocations: 95.47 kB / 0.8913 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.7339, allocations: 9.266 kB / 0.8913 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.734, allocations: 11.34 kB / 0.8913 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.7341, allocations: 5.438 kB / 0.8913 GB, free: 28.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.7341, allocations: 7.266 kB / 0.8913 GB, free: 28.67 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000115/0.7342, allocations: 154.8 kB / 0.8915 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7342, allocations: 0 / 0.8915 GB, free: 28.59 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003123/0.7345, allocations: 59.41 kB / 0.8915 GB, free: 28.59 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 () * Number of clocked 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.0001671/0.7347, allocations: 122.4 kB / 0.8916 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007/0.7354, allocations: 0.6106 MB / 0.8922 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7354, allocations: 0 / 0.8922 GB, free: 28.43 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.7355, allocations: 79.62 kB / 0.8923 GB, free: 28.42 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.7358, allocations: 28.94 kB / 0.8923 GB, free: 28.42 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.7371, allocations: 0.8369 MB / 0.8931 GB, free: 27.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.7373, allocations: 0.7418 MB / 0.8939 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001315/0.7374, allocations: 39.97 kB / 0.8939 GB, free: 27.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.7375, allocations: 15.25 kB / 0.8939 GB, free: 27.22 MB / 0.5417 GB Notification: Performance of SimCode: time 4.81e-07/0.7375, allocations: 0 / 0.8939 GB, free: 27.22 MB / 0.5417 GB Notification: Performance of Templates: time 0.005944/0.7435, allocations: 2.345 MB / 0.8962 GB, free: 27.05 MB / 0.5417 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)