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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.8314/0.8314, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 179.8 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008359/0.0008359, allocations: 86.28 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001685/0.001685, allocations: 277.1 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004987/0.0004987, allocations: 16 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4229, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.57, allocations: 109.8 MB / 0.8466 GB, free: 456 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.5703, allocations: 79.95 kB / 0.8467 GB, free: 376 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01068/0.581, allocations: 3.79 MB / 0.8504 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.184e-06/0.581, allocations: 0 / 0.8504 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.655e-05/0.5811, allocations: 8 kB / 0.8504 GB, free: 12.54 MB / 0.5261 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.000801/0.5819, allocations: 0.5056 MB / 0.8509 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.5819, allocations: 8.031 kB / 0.8509 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.582, allocations: 20.75 kB / 0.8509 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.5824, allocations: 237 kB / 0.8512 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.5824, allocations: 12.38 kB / 0.8512 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.5825, allocations: 12.38 kB / 0.8512 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.5829, allocations: 209.1 kB / 0.8514 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5829, allocations: 3.938 kB / 0.8514 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.583, allocations: 8 kB / 0.8514 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.583, allocations: 0 / 0.8514 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.5832, allocations: 120.6 kB / 0.8515 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.5844, allocations: 0.7508 MB / 0.8523 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.5851, allocations: 206.4 kB / 0.8525 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.5853, allocations: 72.81 kB / 0.8525 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.5853, allocations: 160 / 0.8525 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.5853, allocations: 38.53 kB / 0.8526 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.5854, allocations: 4 kB / 0.8526 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0005613/0.5859, allocations: 241.3 kB / 0.8528 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.586, allocations: 51.41 kB / 0.8528 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.5862, allocations: 222.8 kB / 0.8531 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.5863, allocations: 29.7 kB / 0.8531 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.5864, allocations: 136 kB / 0.8532 GB, free: 9.445 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.5865, allocations: 43.53 kB / 0.8533 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.5865, allocations: 4 kB / 0.8533 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.5867, allocations: 326.8 kB / 0.8536 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002829/0.5869, allocations: 155.9 kB / 0.8537 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.5873, allocations: 209.1 kB / 0.8539 GB, free: 8.695 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.5891, allocations: 0.9058 MB / 0.8548 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5891, allocations: 0 / 0.8548 GB, free: 7.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008609/0.59, allocations: 0.4951 MB / 0.8553 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.935e-05/0.5901, allocations: 69.67 kB / 0.8554 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.5901, allocations: 7.922 kB / 0.8554 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5902, allocations: 4 kB / 0.8554 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.5904, allocations: 39.98 kB / 0.8554 GB, free: 7.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.5904, allocations: 7.938 kB / 0.8554 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.5907, allocations: 47.59 kB / 0.8555 GB, free: 7.066 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.5907, allocations: 8 kB / 0.8555 GB, free: 7.059 MB / 0.5261 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.0003027/0.591, allocations: 177 kB / 0.8556 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.5911, allocations: 19.75 kB / 0.8556 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.5911, allocations: 21.39 kB / 0.8557 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5911, allocations: 7.938 kB / 0.8557 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.5912, allocations: 0 / 0.8557 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5912, allocations: 0 / 0.8557 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003014/0.5915, allocations: 229.4 kB / 0.8559 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5915, allocations: 0 / 0.8559 GB, free: 6.559 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002507/0.5918, allocations: 35.97 kB / 0.8559 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5918, allocations: 0 / 0.8559 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.5918, allocations: 12 kB / 0.8559 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5918, allocations: 0 / 0.8559 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5918, allocations: 0 / 0.8559 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005473/0.5924, allocations: 351.1 kB / 0.8563 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.5925, allocations: 100.9 kB / 0.8564 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.5925, allocations: 4 kB / 0.8564 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.5926, allocations: 7.984 kB / 0.8564 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.022e-05/0.5927, allocations: 8 kB / 0.8564 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.5927, allocations: 3.984 kB / 0.8564 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001499/0.5929, allocations: 148.6 kB / 0.8565 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5929, allocations: 0 / 0.8565 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003199/0.5932, allocations: 63.91 kB / 0.8566 GB, free: 5.805 MB / 0.5261 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.0002198/0.5934, allocations: 111.2 kB / 0.8567 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008833/0.5943, allocations: 0.6094 MB / 0.8573 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5943, allocations: 4.062 kB / 0.8573 GB, free: 5.062 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.5945, allocations: 75.89 kB / 0.8574 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.5949, allocations: 32.25 kB / 0.8574 GB, free: 4.957 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.5965, allocations: 0.8474 MB / 0.8582 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.597, allocations: 0.7361 MB / 0.859 GB, free: 3.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00014/0.5971, allocations: 36.61 kB / 0.859 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.5972, allocations: 15.44 kB / 0.859 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of SimCode: time 5.91e-07/0.5972, allocations: 0 / 0.859 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of Templates: time 0.006591/0.6038, allocations: 2.376 MB / 0.8613 GB, free: 0.9141 MB / 0.5261 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)