Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 175 kB / 15.43 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/HanserModelica 1.1.1/package.mo): time 0.03787/0.03787, allocations: 8.924 MB / 25.11 MB, free: 3.617 MB / 18.57 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.7 MB / 253.7 MB, free: 5.188 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007971/0.0007971, allocations: 95.42 kB / 307 MB, free: 2.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 8 kB / 370.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2876, allocations: 52.55 MB / 422.8 MB, free: 47.91 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.001711/0.2894, allocations: 1.402 MB / 424.2 MB, free: 46.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002201/0.2896, allocations: 100.9 kB / 424.3 MB, free: 46.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.616e-05/0.2897, allocations: 3.75 kB / 424.3 MB, free: 46.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.2897, allocations: 10.64 kB / 424.4 MB, free: 46.81 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.926e-05/0.2898, allocations: 31.22 kB / 424.4 MB, free: 46.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001444/0.29, allocations: 18.3 kB / 424.4 MB, free: 46.78 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.2901, allocations: 109.2 kB / 424.5 MB, free: 46.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.2903, allocations: 40.27 kB / 424.5 MB, free: 46.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.54e-05/0.2903, allocations: 33.09 kB / 424.6 MB, free: 46.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.799e-05/0.2904, allocations: 41.59 kB / 424.6 MB, free: 46.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.2905, allocations: 5.469 kB / 424.6 MB, free: 46.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.313e-05/0.2905, allocations: 7.188 kB / 424.6 MB, free: 46.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.2905, allocations: 16.84 kB / 424.6 MB, free: 46.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.384e-05/0.2906, allocations: 72.11 kB / 424.7 MB, free: 46.61 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.2908, allocations: 106.3 kB / 424.8 MB, free: 46.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2908, allocations: 0.5938 kB / 424.8 MB, free: 46.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2908, allocations: 1.062 kB / 424.8 MB, free: 46.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.2908, allocations: 0.75 kB / 424.8 MB, free: 46.58 MB / 330.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.0003871/0.2912, allocations: 379 kB / 425.2 MB, free: 46.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2912, allocations: 9.5 kB / 425.2 MB, free: 46.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.2913, allocations: 10.06 kB / 425.2 MB, free: 46.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/0.2914, allocations: 169 kB / 425.4 MB, free: 46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.2914, allocations: 13.97 kB / 425.4 MB, free: 45.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.2914, allocations: 14.41 kB / 425.4 MB, free: 45.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.2916, allocations: 92.56 kB / 425.5 MB, free: 45.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2917, allocations: 1.312 kB / 425.5 MB, free: 45.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.2917, allocations: 11.92 kB / 425.5 MB, free: 45.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2917, allocations: 3.562 kB / 425.5 MB, free: 45.92 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.2918, allocations: 61.3 kB / 425.6 MB, free: 45.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/0.2924, allocations: 0.49 MB / 426.1 MB, free: 45.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002129/0.2926, allocations: 84.98 kB / 426.1 MB, free: 45.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.954e-05/0.2927, allocations: 38.17 kB / 426.2 MB, free: 45.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/0.2927, allocations: 1.969 kB / 426.2 MB, free: 45.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.2927, allocations: 32.91 kB / 426.2 MB, free: 45.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.2927, allocations: 1.094 kB / 426.2 MB, free: 45.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004728/0.2932, allocations: 229.5 kB / 426.4 MB, free: 45.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.2933, allocations: 57.42 kB / 426.5 MB, free: 45.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.2933, allocations: 117.7 kB / 426.6 MB, free: 45.01 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.2933, allocations: 30.67 kB / 426.6 MB, free: 44.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.537e-05/0.2934, allocations: 107.5 kB / 426.7 MB, free: 44.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.2934, allocations: 25.97 kB / 426.8 MB, free: 44.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.2934, allocations: 0 / 426.8 MB, free: 44.86 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.509e-05/0.2935, allocations: 318.8 kB / 427.1 MB, free: 44.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.601e-05/0.2935, allocations: 19.52 kB / 427.1 MB, free: 44.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.144e-05/0.2936, allocations: 33.3 kB / 427.1 MB, free: 44.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.389e-05/0.2936, allocations: 61.7 kB / 427.2 MB, free: 44.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2936, allocations: 0 / 427.2 MB, free: 44.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001834/0.2938, allocations: 121.7 kB / 427.3 MB, free: 44.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.2939, allocations: 6.422 kB / 427.3 MB, free: 44.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2939, allocations: 4.031 kB / 427.3 MB, free: 44.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.294, allocations: 26.03 kB / 427.4 MB, free: 44.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.86e-05/0.2941, allocations: 16.17 kB / 427.4 MB, free: 44.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007066/0.2948, allocations: 1.322 MB / 428.7 MB, free: 43.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.2949, allocations: 11.67 kB / 428.7 MB, free: 43.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.2949, allocations: 6.188 kB / 428.7 MB, free: 43.02 MB / 330.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 () * 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 5.828e-05/0.2949, allocations: 120.3 kB / 428.8 MB, free: 42.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.295, allocations: 7.156 kB / 428.8 MB, free: 42.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.295, allocations: 16 kB / 428.8 MB, free: 42.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.295, allocations: 9.125 kB / 428.9 MB, free: 42.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.295, allocations: 0 / 428.9 MB, free: 42.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.295, allocations: 1.719 kB / 428.9 MB, free: 42.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.2952, allocations: 200.2 kB / 429.1 MB, free: 42.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2952, allocations: 0.6562 kB / 429.1 MB, free: 42.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.632e-05/0.2953, allocations: 13.83 kB / 429.1 MB, free: 42.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.352e-05/0.2954, allocations: 28.03 kB / 429.1 MB, free: 42.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.2954, allocations: 2.594 kB / 429.1 MB, free: 42.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006032/0.296, allocations: 1.32 MB / 430.4 MB, free: 41.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.296, allocations: 0 / 430.4 MB, free: 41.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.2962, allocations: 228.6 kB / 430.6 MB, free: 41.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.2963, allocations: 88.48 kB / 430.7 MB, free: 41.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.2963, allocations: 1.156 kB / 430.7 MB, free: 41.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.2964, allocations: 2.469 kB / 430.7 MB, free: 41.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.2964, allocations: 5.219 kB / 430.7 MB, free: 41.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.2964, allocations: 1.75 kB / 430.7 MB, free: 41.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.292e-05/0.2964, allocations: 106.6 kB / 430.8 MB, free: 40.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2964, allocations: 0 / 430.8 MB, free: 40.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000224/0.2967, allocations: 28.44 kB / 430.9 MB, free: 40.94 MB / 330.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 () * 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.576e-05/0.2967, allocations: 104 kB / 431 MB, free: 40.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.297, allocations: 165.8 kB / 431.1 MB, free: 40.72 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.297, allocations: 1.812 kB / 431.1 MB, free: 40.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.2971, allocations: 153.4 kB / 431.3 MB, free: 40.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.2974, allocations: 25.39 kB / 431.3 MB, free: 40.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004694/0.2979, allocations: 353.5 kB / 431.7 MB, free: 40.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.298, allocations: 0.7007 MB / 432.4 MB, free: 39.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.819e-05/0.298, allocations: 5.016 kB / 432.4 MB, free: 39.61 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.778e-05/0.298, allocations: 10.19 kB / 432.4 MB, free: 39.6 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.298, allocations: 0 / 432.4 MB, free: 39.6 MB / 330.7 MB Notification: Performance of Templates: time 0.003171/0.3012, allocations: 1.063 MB / 433.4 MB, free: 39.51 MB / 330.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)