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.001162/0.001163, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04226/0.04226, allocations: 8.7 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.4 MB / 246 MB, free: 3.566 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.0008492/0.0008491, allocations: 83.98 kB / 299.1 MB, free: 3.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.373e-05, allocations: 4 kB / 359.5 MB, free: 6.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3528, allocations: 52.53 MB / 412 MB, free: 22.58 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1376/0.4904, allocations: 77.58 MB / 489.6 MB, free: 8.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.4907, allocations: 63.97 kB / 489.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005863/0.4966, allocations: 1.643 MB / 491.3 MB, free: 7.188 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4966, allocations: 7.938 kB / 491.3 MB, free: 7.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4967, allocations: 0 / 491.3 MB, free: 7.18 MB / 362.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.0005543/0.4972, allocations: 370.3 kB / 491.7 MB, free: 6.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/0.4973, allocations: 12.03 kB / 491.7 MB, free: 6.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.727e-05/0.4974, allocations: 7.906 kB / 491.7 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.4976, allocations: 174.9 kB / 491.9 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.4976, allocations: 12 kB / 491.9 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.4976, allocations: 8 kB / 491.9 MB, free: 6.523 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002638/0.4979, allocations: 96.11 kB / 492 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.498, allocations: 0 / 492 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.498, allocations: 0 / 492 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.498, allocations: 3.953 kB / 492 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001982/0.4982, allocations: 67.78 kB / 492.1 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009824/0.4992, allocations: 0.4976 MB / 492.6 MB, free: 5.789 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.4995, allocations: 78.56 kB / 492.7 MB, free: 5.703 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.4996, allocations: 36.86 kB / 492.7 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.4997, allocations: 0 / 492.7 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.4997, allocations: 38.5 kB / 492.7 MB, free: 5.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.4997, allocations: 0 / 492.7 MB, free: 5.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003995/0.5001, allocations: 98.39 kB / 492.8 MB, free: 5.512 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.5002, allocations: 55.41 kB / 492.9 MB, free: 5.445 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.5003, allocations: 105.2 kB / 493 MB, free: 5.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.5004, allocations: 29.69 kB / 493 MB, free: 5.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.5004, allocations: 103.9 kB / 493.1 MB, free: 5.191 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.5005, allocations: 35.69 kB / 493.1 MB, free: 5.156 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-06/0.5005, allocations: 7.938 kB / 493.2 MB, free: 5.148 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5006, allocations: 318.8 kB / 493.5 MB, free: 4.828 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.574e-05/0.5007, allocations: 20 kB / 493.5 MB, free: 4.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-05/0.5008, allocations: 34.03 kB / 493.5 MB, free: 4.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.857e-05/0.5009, allocations: 20 kB / 493.5 MB, free: 4.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5009, allocations: 0 / 493.5 MB, free: 4.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003052/0.5012, allocations: 110.4 kB / 493.6 MB, free: 4.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5013, allocations: 11.95 kB / 493.7 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5013, allocations: 0 / 493.7 MB, free: 4.621 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002011/0.5015, allocations: 24.84 kB / 493.7 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5016, allocations: 15.98 kB / 493.7 MB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.503, allocations: 1.32 MB / 495 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.386e-05/0.5031, allocations: 15.97 kB / 495 MB, free: 3.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.5031, allocations: 4 kB / 495 MB, free: 3.102 MB / 362.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 9.407e-05/0.5033, allocations: 105 kB / 495.1 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.23e-05/0.5033, allocations: 15.86 kB / 495.2 MB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.5034, allocations: 16.61 kB / 495.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5034, allocations: 0 / 495.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5034, allocations: 0 / 495.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5034, allocations: 0 / 495.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.5037, allocations: 189.6 kB / 495.4 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5037, allocations: 0 / 495.4 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.5039, allocations: 19.92 kB / 495.4 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001315/0.504, allocations: 28.84 kB / 495.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.504, allocations: 11.95 kB / 495.4 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001279/0.5053, allocations: 1.304 MB / 496.7 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5053, allocations: 3.938 kB / 496.7 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000378/0.5057, allocations: 224.4 kB / 496.9 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.752e-05/0.5058, allocations: 92.97 kB / 497 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.5058, allocations: 288 / 497 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.506, allocations: 0 / 497 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.506, allocations: 20.05 kB / 497.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.506, allocations: 3.938 kB / 497.1 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.5061, allocations: 95.27 kB / 497.1 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5061, allocations: 0 / 497.1 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004506/0.5066, allocations: 28 kB / 497.2 MB, free: 0.7266 MB / 362.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 0.0001386/0.5067, allocations: 91.25 kB / 497.3 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003868/0.5071, allocations: 178.5 kB / 497.4 MB, free: 452 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5072, allocations: 0 / 497.4 MB, free: 452 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.5074, allocations: 138.6 kB / 497.6 MB, free: 300 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.5077, allocations: 19.33 kB / 497.6 MB, free: 284 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.5083, allocations: 198.3 kB / 497.8 MB, free: 64 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.5086, allocations: 0.7042 MB / 498.5 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.73e-05/0.5086, allocations: 8.656 kB / 498.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.5087, allocations: 11.44 kB / 498.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5087, allocations: 0 / 498.5 MB, free: 15.31 MB / 378.7 MB Notification: Performance of Templates: time 0.004713/0.5134, allocations: 1.054 MB / 499.6 MB, free: 14.27 MB / 378.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)