Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00529/0.00529, allocations: 106.2 kB / 15.74 MB, free: 6 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.001319/0.001319, allocations: 199 kB / 16.68 MB, free: 5.918 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.26/1.26, allocations: 205.1 MB / 222.5 MB, free: 4.324 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04355/0.04355, allocations: 9.1 MB / 279 MB, free: 11.93 MB / 238.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.001561/0.001561, allocations: 71.88 kB / 387.5 MB, free: 8.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2279, allocations: 48.15 MB / 435.6 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01642/0.2444, allocations: 16.89 MB / 452.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2462, allocations: 1.862 MB / 454.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.2462, allocations: 1.125 kB / 454.4 MB, free: 9.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006494/0.2469, allocations: 302.1 kB / 454.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.709e-05/0.247, allocations: 31.33 kB / 454.7 MB, free: 9.434 MB / 334.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.006402/0.2534, allocations: 2.915 MB / 457.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.2535, allocations: 53.86 kB / 457.6 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.2536, allocations: 2.312 kB / 457.6 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.577e-05/0.2536, allocations: 31.05 kB / 457.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.2537, allocations: 14.72 kB / 457.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.554e-06/0.2537, allocations: 0 / 457.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006575/0.2603, allocations: 4.956 MB / 462.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.2603, allocations: 1.094 kB / 462.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.2604, allocations: 11.62 kB / 462.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002861/0.2632, allocations: 1.997 MB / 464.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2632, allocations: 0 / 464.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.2632, allocations: 1.25 kB / 464.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.2633, allocations: 0 / 464.7 MB, free: 3.297 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007102/0.264, allocations: 0.5034 MB / 465.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.264, allocations: 12.88 kB / 465.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.264, allocations: 1.375 kB / 465.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2642, allocations: 168.3 kB / 465.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2642, allocations: 0.9688 kB / 465.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.2642, allocations: 0 / 465.3 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.516e-05/0.2643, allocations: 36.67 kB / 465.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2643, allocations: 0 / 465.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.2643, allocations: 4.906 kB / 465.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2643, allocations: 0 / 465.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.455e-05/0.2644, allocations: 13.67 kB / 465.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.2645, allocations: 173.4 kB / 465.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.192e-05/0.2646, allocations: 30.67 kB / 465.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.2646, allocations: 19.55 kB / 465.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0272/0.2918, allocations: 19.36 MB / 485 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2919, allocations: 30.56 kB / 485 MB, free: 11.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.808e-06/0.2919, allocations: 0 / 485 MB, free: 11.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001851/0.2921, allocations: 81.52 kB / 485.1 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2921, allocations: 51.41 kB / 485.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.2922, allocations: 97.89 kB / 485.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.2922, allocations: 25.7 kB / 485.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.2923, allocations: 80.14 kB / 485.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.2923, allocations: 27.64 kB / 485.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.2923, allocations: 13.72 kB / 485.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.2924, allocations: 322.8 kB / 485.7 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.934e-05/0.2925, allocations: 12 kB / 485.7 MB, free: 11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.658e-05/0.2925, allocations: 12 kB / 485.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.5e-05/0.2925, allocations: 44.94 kB / 485.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2926, allocations: 0 / 485.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.812e-05/0.2926, allocations: 57.67 kB / 485.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2927, allocations: 8 kB / 485.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2927, allocations: 0 / 485.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2927, allocations: 3.938 kB / 485.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.2927, allocations: 3.938 kB / 485.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2927, allocations: 0 / 485.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.2927, allocations: 0 / 485.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.2927, allocations: 7.984 kB / 485.8 MB, free: 10.85 MB / 366.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 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.574e-05/0.2928, allocations: 121.8 kB / 486 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.2928, allocations: 3.906 kB / 486 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.293, allocations: 174.8 kB / 486.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-05/0.293, allocations: 176.3 kB / 486.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.429e-05/0.2931, allocations: 184.2 kB / 486.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.211e-05/0.2932, allocations: 184.2 kB / 486.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.2935, allocations: 417.1 kB / 487.1 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.55e-05/0.2936, allocations: 108.9 kB / 487.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.2936, allocations: 101 kB / 487.3 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.699e-05/0.2937, allocations: 188.2 kB / 487.5 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/0.2937, allocations: 180.2 kB / 487.6 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.406e-05/0.2938, allocations: 176.3 kB / 487.8 MB, free: 8.727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.974e-05/0.2938, allocations: 184.2 kB / 488 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.294, allocations: 311.7 kB / 488.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.294, allocations: 182.1 kB / 488.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/0.2941, allocations: 180.2 kB / 488.6 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.2942, allocations: 112.9 kB / 488.8 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.2942, allocations: 176.3 kB / 488.9 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.2943, allocations: 104.9 kB / 489 MB, free: 7.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.448e-05/0.2944, allocations: 99.27 kB / 489.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2944, allocations: 0 / 489.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00109/0.2955, allocations: 395.8 kB / 489.5 MB, free: 6.934 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001517/0.297, allocations: 0.7134 MB / 490.2 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 6.639e-05/0.2971, allocations: 27.92 kB / 490.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.2971, allocations: 0 / 490.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.2971, allocations: 0 / 490.3 MB, free: 6.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.2976, allocations: 488 kB / 490.7 MB, free: 5.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.2978, allocations: 207.1 kB / 490.9 MB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.298, allocations: 0.6768 MB / 491.6 MB, free: 4.773 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.97e-05/0.2981, allocations: 4 kB / 491.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.06e-05/0.2981, allocations: 7.438 kB / 491.6 MB, free: 4.762 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2981, allocations: 3.938 kB / 491.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of Templates: time 0.01771/0.3158, allocations: 14.13 MB / 0.4939 GB, free: 6.613 MB / 382.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)