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/ModelicaServices 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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009266, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 184.5 kB / 291.3 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03496/0.03496, allocations: 8.804 MB / 351.2 MB, free: 4.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 10.33 kB / 414.5 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06582/0.06617, allocations: 52.57 MB / 467 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.001637/0.06785, allocations: 1.431 MB / 468.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002203/0.06809, allocations: 99.61 kB / 468.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.06814, allocations: 0 / 468.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.06819, allocations: 11.92 kB / 468.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.342e-05/0.06827, allocations: 31.77 kB / 468.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.0684, allocations: 15.98 kB / 468.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.06853, allocations: 115.4 kB / 468.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.06866, allocations: 35.97 kB / 468.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.06871, allocations: 35.86 kB / 468.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.06879, allocations: 35.84 kB / 468.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.06882, allocations: 4 kB / 468.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.781e-05/0.06884, allocations: 8 kB / 468.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.06887, allocations: 15.92 kB / 468.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.06894, allocations: 77.5 kB / 468.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.458e-05/0.06904, allocations: 80.05 kB / 469 MB, free: 11.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.06905, allocations: 7.938 kB / 469 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.06906, allocations: 0 / 469 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.06907, allocations: 0 / 469 MB, free: 11.09 MB / 302.1 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.0004028/0.06948, allocations: 383.1 kB / 469.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.06952, allocations: 12.02 kB / 469.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.06956, allocations: 12.84 kB / 469.4 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/0.06967, allocations: 176.2 kB / 469.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.06969, allocations: 8.375 kB / 469.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.06973, allocations: 12.38 kB / 469.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.06991, allocations: 101 kB / 469.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.06993, allocations: 192 / 469.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.06995, allocations: 3.938 kB / 469.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.06996, allocations: 4 kB / 469.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.07009, allocations: 59.83 kB / 469.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006402/0.07073, allocations: 0.4975 MB / 470.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.07097, allocations: 86.5 kB / 470.4 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.168e-05/0.07104, allocations: 36.84 kB / 470.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.07106, allocations: 8 kB / 470.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.07108, allocations: 34.56 kB / 470.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.07109, allocations: 0 / 470.4 MB, free: 9.496 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004978/0.07159, allocations: 223.4 kB / 470.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.07163, allocations: 59.41 kB / 470.7 MB, free: 9.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.07172, allocations: 109.8 kB / 470.8 MB, free: 9.062 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.07174, allocations: 29.7 kB / 470.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.0718, allocations: 103.9 kB / 471 MB, free: 8.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.07183, allocations: 35.55 kB / 471 MB, free: 8.887 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.07186, allocations: 17.72 kB / 471 MB, free: 8.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.07196, allocations: 314.8 kB / 471.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.072, allocations: 19.98 kB / 471.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.613e-05/0.07205, allocations: 38.08 kB / 471.4 MB, free: 8.484 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.01e-05/0.07215, allocations: 61.78 kB / 471.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.07216, allocations: 0 / 471.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000205/0.07237, allocations: 106.4 kB / 471.5 MB, free: 8.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.07239, allocations: 8 kB / 471.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.0724, allocations: 0 / 471.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.07255, allocations: 32.81 kB / 471.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.973e-05/0.07263, allocations: 15.98 kB / 471.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009639/0.0736, allocations: 1.331 MB / 472.9 MB, free: 6.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.07367, allocations: 11.91 kB / 472.9 MB, free: 6.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.07368, allocations: 4 kB / 472.9 MB, free: 6.762 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.203e-05/0.07377, allocations: 126.4 kB / 473.1 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.0738, allocations: 7.906 kB / 473.1 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.07383, allocations: 8.375 kB / 473.1 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.07384, allocations: 3.938 kB / 473.1 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.07385, allocations: 4.062 kB / 473.1 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.07385, allocations: 4 kB / 473.1 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.07405, allocations: 193.6 kB / 473.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.07406, allocations: 0 / 473.3 MB, free: 6.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.085e-05/0.07415, allocations: 16 kB / 473.3 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.978e-05/0.07425, allocations: 24.84 kB / 473.3 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.07426, allocations: 0 / 473.3 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000899/0.07517, allocations: 1.327 MB / 474.6 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.07518, allocations: 0 / 474.6 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.07545, allocations: 232.4 kB / 474.9 MB, free: 4.613 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.877e-05/0.0755, allocations: 92.92 kB / 475 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.07551, allocations: 0 / 475 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.07559, allocations: 8 kB / 475 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.07561, allocations: 3.984 kB / 475 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.07562, allocations: 4 kB / 475 MB, free: 4.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.93e-05/0.07568, allocations: 91.31 kB / 475.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07568, allocations: 0 / 475.1 MB, free: 4.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.07595, allocations: 32.06 kB / 475.1 MB, free: 4.367 MB / 302.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.579e-05/0.07603, allocations: 100.1 kB / 475.2 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.07629, allocations: 171 kB / 475.4 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0763, allocations: 0 / 475.4 MB, free: 4.082 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.07644, allocations: 154.6 kB / 475.5 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.07674, allocations: 20 kB / 475.5 MB, free: 3.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005123/0.07726, allocations: 375.7 kB / 475.9 MB, free: 3.496 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002335/0.07751, allocations: 0.7043 MB / 476.6 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.07754, allocations: 11.44 kB / 476.6 MB, free: 2.754 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.07755, allocations: 3.938 kB / 476.6 MB, free: 2.75 MB / 302.1 MB Notification: Performance of Templates: time 0.002761/0.08031, allocations: 1.57 MB / 478.2 MB, free: 1.18 MB / 302.1 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)