Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.conf.json 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/HanserModelica 2.0.0-master/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) 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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) Running command: translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05827/0.05827, allocations: 8.719 MB / 16.79 MB, free: 3.371 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 240.9 MB, free: 13.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009773/0.0009773, allocations: 96.47 kB / 293.9 MB, free: 7.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.058e-05, allocations: 0 / 352.6 MB, free: 1.242 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 52.55 MB / 405.2 MB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3799/0.4999, allocations: 76.91 MB / 482.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.5002, allocations: 65.08 kB / 482.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003402/0.5036, allocations: 1.624 MB / 483.8 MB, free: 8.969 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5037, allocations: 0 / 483.8 MB, free: 8.969 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.5037, allocations: 3.938 kB / 483.8 MB, free: 8.965 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0002887/0.504, allocations: 369.3 kB / 484.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/0.504, allocations: 11.98 kB / 484.2 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.5041, allocations: 15.94 kB / 484.2 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.525e-05/0.5042, allocations: 171.5 kB / 484.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.5042, allocations: 4 kB / 484.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.5042, allocations: 8 kB / 484.3 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001341/0.5044, allocations: 54.11 kB / 484.4 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.5045, allocations: 80.06 kB / 484.5 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5045, allocations: 0 / 484.5 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5045, allocations: 0 / 484.5 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5046, allocations: 4 kB / 484.5 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.5051, allocations: 469.8 kB / 484.9 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.5053, allocations: 75.81 kB / 485 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.5053, allocations: 32.25 kB / 485 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.5054, allocations: 8 kB / 485.1 MB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.5054, allocations: 37.28 kB / 485.1 MB, free: 7.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.5054, allocations: 0 / 485.1 MB, free: 7.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.00026/0.5057, allocations: 95.84 kB / 485.2 MB, free: 7.527 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.727e-05/0.5057, allocations: 55.41 kB / 485.2 MB, free: 7.461 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.956e-05/0.5057, allocations: 100.5 kB / 485.3 MB, free: 7.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.5058, allocations: 25.7 kB / 485.4 MB, free: 7.328 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.5058, allocations: 110.2 kB / 485.5 MB, free: 7.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.5058, allocations: 26.5 kB / 485.5 MB, free: 7.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.5058, allocations: 0 / 485.5 MB, free: 7.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.5059, allocations: 318.1 kB / 485.8 MB, free: 6.883 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.5059, allocations: 18.19 kB / 485.8 MB, free: 6.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.506, allocations: 29.38 kB / 485.9 MB, free: 6.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.506, allocations: 23.36 kB / 485.9 MB, free: 6.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.506, allocations: 4 kB / 485.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001559/0.5062, allocations: 100.1 kB / 486 MB, free: 6.734 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.5062, allocations: 8.703 kB / 486 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5062, allocations: 2.516 kB / 486 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001406/0.5064, allocations: 29.38 kB / 486 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.056e-05/0.5064, allocations: 12 kB / 486 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006773/0.5071, allocations: 1.265 MB / 487.3 MB, free: 5.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.149e-05/0.5072, allocations: 3.938 kB / 487.3 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.5072, allocations: 7.922 kB / 487.3 MB, free: 5.355 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.5072, allocations: 109 kB / 487.4 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.5073, allocations: 8.938 kB / 487.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.5073, allocations: 16.12 kB / 487.4 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.5073, allocations: 4 kB / 487.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.5073, allocations: 0 / 487.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5073, allocations: 0 / 487.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.5075, allocations: 164 kB / 487.6 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5075, allocations: 0.5 kB / 487.6 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.5075, allocations: 16 kB / 487.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.573e-05/0.5076, allocations: 27.41 kB / 487.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.5076, allocations: 0.75 kB / 487.6 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005848/0.5082, allocations: 1.268 MB / 488.9 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5083, allocations: 4.797 kB / 488.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.5085, allocations: 210.7 kB / 489.1 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.5085, allocations: 89.03 kB / 489.2 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.5085, allocations: 3.953 kB / 489.2 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.075e-05/0.5086, allocations: 4.688 kB / 489.2 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.5086, allocations: 13.66 kB / 489.2 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.5086, allocations: 4 kB / 489.2 MB, free: 3.34 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.667e-05/0.5086, allocations: 88.61 kB / 489.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5086, allocations: 0 / 489.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.5089, allocations: 24 kB / 489.3 MB, free: 3.234 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.563e-05/0.509, allocations: 100.2 kB / 489.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.5092, allocations: 153.1 kB / 489.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5092, allocations: 0 / 489.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.342e-05/0.5093, allocations: 139.1 kB / 489.7 MB, free: 2.852 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.5095, allocations: 9.391 kB / 489.7 MB, free: 2.848 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.5099, allocations: 188.5 kB / 489.9 MB, free: 2.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.51, allocations: 0.7002 MB / 490.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.205e-05/0.5101, allocations: 9.109 kB / 490.6 MB, free: 1.926 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.5101, allocations: 7.438 kB / 490.6 MB, free: 1.922 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5101, allocations: 0 / 490.6 MB, free: 1.922 MB / 346.7 MB Notification: Performance of Templates: time 0.002965/0.5131, allocations: 0.89 MB / 491.5 MB, free: 1.094 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & ./HanserModelica_HanserModelica.Thermal.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)