Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.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.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 175.2 kB / 15.43 MB, free: 6.148 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.04074/0.04074, allocations: 8.927 MB / 25.11 MB, free: 3.625 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.414/1.414, allocations: 225.7 MB / 253.7 MB, free: 5.227 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.001021/0.001021, allocations: 90.95 kB / 307 MB, free: 2.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003885/0.0003887, allocations: 8 kB / 370.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2727, allocations: 52.55 MB / 422.8 MB, free: 47.93 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.002539/0.2753, allocations: 2.051 MB / 424.9 MB, free: 46.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008845/0.2762, allocations: 0.5381 MB / 425.4 MB, free: 46.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.2764, allocations: 7.469 kB / 425.4 MB, free: 46.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.2765, allocations: 21.66 kB / 425.5 MB, free: 46.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2766, allocations: 67.28 kB / 425.5 MB, free: 46.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.2768, allocations: 45.61 kB / 425.6 MB, free: 45.99 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.2771, allocations: 240.8 kB / 425.8 MB, free: 45.87 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2772, allocations: 69.98 kB / 425.9 MB, free: 45.84 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.584e-05/0.2773, allocations: 77.39 kB / 425.9 MB, free: 45.81 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.2775, allocations: 90.83 kB / 426 MB, free: 45.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.334e-05/0.2775, allocations: 10.31 kB / 426 MB, free: 45.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-05/0.2775, allocations: 11 kB / 426.1 MB, free: 45.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.24e-05/0.2776, allocations: 36.56 kB / 426.1 MB, free: 45.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.2777, allocations: 119.2 kB / 426.2 MB, free: 45.66 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.278, allocations: 212.3 kB / 426.4 MB, free: 45.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.278, allocations: 0.75 kB / 426.4 MB, free: 45.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.278, allocations: 1.188 kB / 426.4 MB, free: 45.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2781, allocations: 2.094 kB / 426.4 MB, free: 45.59 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007742/0.2788, allocations: 478.9 kB / 426.9 MB, free: 45.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2789, allocations: 10.73 kB / 426.9 MB, free: 45.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.2789, allocations: 28.72 kB / 426.9 MB, free: 45.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.2792, allocations: 229.9 kB / 427.1 MB, free: 44.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.2792, allocations: 17.94 kB / 427.2 MB, free: 44.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.154e-05/0.2793, allocations: 16.45 kB / 427.2 MB, free: 44.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.2796, allocations: 196.3 kB / 427.4 MB, free: 44.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.2796, allocations: 0.6562 kB / 427.4 MB, free: 44.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.2796, allocations: 9.969 kB / 427.4 MB, free: 44.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.2796, allocations: 7.797 kB / 427.4 MB, free: 44.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.2799, allocations: 114.4 kB / 427.5 MB, free: 44.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.2809, allocations: 0.7554 MB / 428.3 MB, free: 44.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.2811, allocations: 134.3 kB / 428.4 MB, free: 44.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.2812, allocations: 58.95 kB / 428.4 MB, free: 44.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.2813, allocations: 1.375 kB / 428.4 MB, free: 44.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.2815, allocations: 97.56 kB / 428.5 MB, free: 44.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.2815, allocations: 0 / 428.5 MB, free: 44.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005941/0.2821, allocations: 289.6 kB / 428.8 MB, free: 43.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2821, allocations: 58.09 kB / 428.9 MB, free: 43.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.2823, allocations: 185.8 kB / 429.1 MB, free: 43.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.2823, allocations: 30.8 kB / 429.1 MB, free: 43.58 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.2824, allocations: 141 kB / 429.2 MB, free: 43.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.2824, allocations: 45.72 kB / 429.3 MB, free: 43.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.895e-06/0.2824, allocations: 5.125 kB / 429.3 MB, free: 43.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.2825, allocations: 328.4 kB / 429.6 MB, free: 43.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.173e-05/0.2826, allocations: 28.47 kB / 429.6 MB, free: 43.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/0.2827, allocations: 75.09 kB / 429.7 MB, free: 43.03 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.2828, allocations: 112.3 kB / 429.8 MB, free: 42.95 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2828, allocations: 0 / 429.8 MB, free: 42.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002789/0.2831, allocations: 188.4 kB / 430 MB, free: 42.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2831, allocations: 5.531 kB / 430 MB, free: 42.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2832, allocations: 5.25 kB / 430 MB, free: 42.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.2833, allocations: 30.41 kB / 430 MB, free: 42.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.2835, allocations: 29.02 kB / 430.1 MB, free: 42.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007981/0.2843, allocations: 1.368 MB / 431.4 MB, free: 41.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.2844, allocations: 24.89 kB / 431.5 MB, free: 41.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.2844, allocations: 5.156 kB / 431.5 MB, free: 41.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,switch.control,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.488e-05/0.2845, allocations: 134.4 kB / 431.6 MB, free: 41.33 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.2845, allocations: 19.97 kB / 431.6 MB, free: 41.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.2846, allocations: 28.95 kB / 431.6 MB, free: 41.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2846, allocations: 5.688 kB / 431.6 MB, free: 41.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.2846, allocations: 0.6562 kB / 431.6 MB, free: 41.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2846, allocations: 0.75 kB / 431.6 MB, free: 41.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.2848, allocations: 259 kB / 431.9 MB, free: 41.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2848, allocations: 0.6094 kB / 431.9 MB, free: 41.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.2849, allocations: 18.47 kB / 431.9 MB, free: 41.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001017/0.285, allocations: 32.16 kB / 431.9 MB, free: 41.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.2851, allocations: 10.31 kB / 432 MB, free: 41.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006678/0.2857, allocations: 1.356 MB / 433.3 MB, free: 39.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2857, allocations: 5.438 kB / 433.3 MB, free: 39.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.2861, allocations: 234 kB / 433.5 MB, free: 39.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.2861, allocations: 102.6 kB / 433.6 MB, free: 39.44 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.2862, allocations: 6.031 kB / 433.7 MB, free: 39.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.2863, allocations: 13 kB / 433.7 MB, free: 39.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.2864, allocations: 18.95 kB / 433.7 MB, free: 39.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2864, allocations: 4.125 kB / 433.7 MB, free: 39.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.666e-05/0.2865, allocations: 135.6 kB / 433.8 MB, free: 39.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2865, allocations: 1.188 kB / 433.8 MB, free: 39.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002573/0.2868, allocations: 54.56 kB / 433.9 MB, free: 39.32 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: 3 ($whenCondition1,switch.control,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.421e-05/0.2868, allocations: 108.9 kB / 434 MB, free: 39.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.2872, allocations: 229.4 kB / 434.2 MB, free: 39.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2872, allocations: 0 / 434.2 MB, free: 39.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.2874, allocations: 171.6 kB / 434.4 MB, free: 38.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2876, allocations: 33.08 kB / 434.4 MB, free: 38.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.2883, allocations: 0.5512 MB / 435 MB, free: 38.55 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.2885, allocations: 0.7294 MB / 435.7 MB, free: 37.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.571e-05/0.2886, allocations: 16.58 kB / 435.7 MB, free: 37.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.2886, allocations: 15.75 kB / 435.7 MB, free: 37.84 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2886, allocations: 0 / 435.7 MB, free: 37.84 MB / 330.7 MB Notification: Performance of Templates: time 0.005117/0.2937, allocations: 2.064 MB / 437.8 MB, free: 37.6 MB / 330.7 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile (rm -f HanserModelica_HanserModelica.Thermal.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Coupling.sim & ./HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1)