Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_dT_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 112 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 187.9 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04749/0.04749, allocations: 9.093 MB / 279.7 MB, free: 2.945 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001446, allocations: 69.78 kB / 388.1 MB, free: 47.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1313, allocations: 48.19 MB / 436.3 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.02484/0.1562, allocations: 17.25 MB / 453.6 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.1719, allocations: 15.54 MB / 469.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.1721, allocations: 0 / 469.1 MB, free: 6.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.1735, allocations: 423.4 kB / 469.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003493/0.1771, allocations: 1.313 MB / 470.8 MB, free: 4.957 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01371/0.1908, allocations: 4.695 MB / 475.5 MB, free: 260 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.1911, allocations: 155.1 kB / 475.7 MB, free: 104 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.351e-05/0.1912, allocations: 5.125 kB / 475.7 MB, free: 96 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.1913, allocations: 71.66 kB / 475.8 MB, free: 24 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1915, allocations: 51.72 kB / 475.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.1915, allocations: 4 kB / 475.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01666/0.2082, allocations: 8.593 MB / 484.4 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.2083, allocations: 15.91 kB / 484.4 MB, free: 7.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2084, allocations: 51.69 kB / 484.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.2191, allocations: 3.492 MB / 488 MB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2191, allocations: 0 / 488 MB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2191, allocations: 0 / 488 MB, free: 3.793 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2192, allocations: 0 / 488 MB, free: 3.793 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002054/0.2212, allocations: 0.7914 MB / 488.7 MB, free: 2.953 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.2213, allocations: 8.031 kB / 488.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005024/0.2218, allocations: 59.75 kB / 488.8 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.222, allocations: 182.9 kB / 489 MB, free: 2.668 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.222, allocations: 7.938 kB / 489 MB, free: 2.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.222, allocations: 4 kB / 489 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.2225, allocations: 265.3 kB / 489.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2225, allocations: 0 / 489.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.2225, allocations: 4 kB / 489.3 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2225, allocations: 4 kB / 489.3 MB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005606/0.2231, allocations: 451.5 kB / 489.7 MB, free: 1.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.2235, allocations: 338.3 kB / 490 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.2239, allocations: 278.4 kB / 490.3 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/0.2242, allocations: 244.8 kB / 490.6 MB, free: 1.039 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01852/0.2427, allocations: 10.02 MB / 0.4888 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.2428, allocations: 34.56 kB / 0.4889 GB, free: 5.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 3.376e-06/0.2428, allocations: 0 / 0.4889 GB, free: 5.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.00108/0.2439, allocations: 0.6658 MB / 0.4895 GB, free: 4.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.244, allocations: 55.41 kB / 0.4896 GB, free: 4.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.2441, allocations: 97.84 kB / 0.4897 GB, free: 4.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.2441, allocations: 29.7 kB / 0.4897 GB, free: 4.383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.2441, allocations: 80.8 kB / 0.4898 GB, free: 4.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.2443, allocations: 134 kB / 0.4899 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.2444, allocations: 45.69 kB / 0.4899 GB, free: 4.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2445, allocations: 326.8 kB / 0.4903 GB, free: 3.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.2447, allocations: 196 kB / 0.4904 GB, free: 3.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.245, allocations: 189 kB / 0.4906 GB, free: 3.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005297/0.2455, allocations: 443.6 kB / 0.491 GB, free: 2.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2455, allocations: 0 / 0.491 GB, free: 2.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006634/0.2462, allocations: 499.8 kB / 0.4915 GB, free: 2.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.2463, allocations: 10.12 kB / 0.4915 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2463, allocations: 3.938 kB / 0.4915 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.2463, allocations: 4 kB / 0.4915 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.2465, allocations: 31.92 kB / 0.4916 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2465, allocations: 0 / 0.4916 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.467e-05/0.2466, allocations: 15.75 kB / 0.4916 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.2466, allocations: 15.92 kB / 0.4916 GB, free: 2.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.2468, allocations: 114.7 kB / 0.4917 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.2468, allocations: 15.81 kB / 0.4917 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008986/0.2477, allocations: 0.6671 MB / 0.4924 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2477, allocations: 0 / 0.4924 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2477, allocations: 0 / 0.4924 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.2478, allocations: 88.95 kB / 0.4925 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.2479, allocations: 23.72 kB / 0.4925 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.248, allocations: 4 kB / 0.4925 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.248, allocations: 11.98 kB / 0.4925 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004205/0.2484, allocations: 276.8 kB / 0.4928 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000462/0.2489, allocations: 390.3 kB / 0.4931 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001349/0.249, allocations: 71.95 kB / 0.4932 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.2492, allocations: 175.2 kB / 0.4934 GB, free: 452 kB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.2492, allocations: 0 / 0.4934 GB, free: 452 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005346/0.2546, allocations: 1.473 MB / 0.4948 GB, free: 14.96 MB / 398.1 MB Notification: Performance of SimCode: time 0.001112/0.2557, allocations: 0.7798 MB / 0.4956 GB, free: 14.13 MB / 398.1 MB Notification: Performance of Templates: time 0.0441/0.2998, allocations: 26.83 MB / 0.5218 GB, free: 3.305 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1)