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: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006023/0.006023, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001423/0.001423, allocations: 195.5 kB / 16.68 MB, free: 5.969 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.399/1.399, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05275/0.05275, allocations: 9.104 MB / 279 MB, free: 12.07 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.002077/0.002077, allocations: 74.33 kB / 387 MB, free: 8.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2301, allocations: 48.16 MB / 435.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01882/0.249, allocations: 16.89 MB / 452 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.2511, allocations: 1.854 MB / 453.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.2512, allocations: 1.312 kB / 453.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.2519, allocations: 269.4 kB / 454.1 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.252, allocations: 22.27 kB / 454.1 MB, free: 9.207 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.007632/0.2596, allocations: 2.794 MB / 456.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.2598, allocations: 57.34 kB / 457 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.2598, allocations: 2.594 kB / 457 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.2599, allocations: 30.31 kB / 457 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.176e-05/0.2599, allocations: 16.14 kB / 457 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.26, allocations: 0 / 457 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008008/0.268, allocations: 4.951 MB / 462 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.268, allocations: 3.938 kB / 462 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.2681, allocations: 16.53 kB / 462 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.2725, allocations: 1.993 MB / 464 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2725, allocations: 0 / 464 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2725, allocations: 5.188 kB / 464 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.2725, allocations: 0 / 464 MB, free: 3.152 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.0009014/0.2735, allocations: 0.5101 MB / 464.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2735, allocations: 12.31 kB / 464.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.2735, allocations: 36.03 kB / 464.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.2736, allocations: 4.953 kB / 464.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.2737, allocations: 168.5 kB / 464.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.2737, allocations: 1.406 kB / 464.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.2738, allocations: 0 / 464.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.2739, allocations: 37.14 kB / 464.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2739, allocations: 4 kB / 464.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.2739, allocations: 0 / 464.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2739, allocations: 0 / 464.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.788e-05/0.2739, allocations: 21.8 kB / 464.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.2741, allocations: 169 kB / 465 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.2742, allocations: 30.83 kB / 465 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.2742, allocations: 18.89 kB / 465 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03216/0.3064, allocations: 19.36 MB / 484.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.3065, allocations: 30.56 kB / 484.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.3065, allocations: 0 / 484.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002099/0.3067, allocations: 77.61 kB / 484.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3067, allocations: 55.41 kB / 484.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.3068, allocations: 97.88 kB / 484.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3069, allocations: 25.7 kB / 484.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.3069, allocations: 80.14 kB / 484.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.812e-05/0.307, allocations: 23.8 kB / 484.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.307, allocations: 17.66 kB / 484.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3071, allocations: 322.8 kB / 485.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.3072, allocations: 12 kB / 485.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.638e-05/0.3072, allocations: 8 kB / 485.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.439e-05/0.3073, allocations: 41 kB / 485.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3073, allocations: 3.938 kB / 485.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.431e-05/0.3074, allocations: 65.58 kB / 485.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3074, allocations: 4 kB / 485.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3074, allocations: 0 / 485.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3074, allocations: 0 / 485.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.3074, allocations: 0 / 485.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.3074, allocations: 0 / 485.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.3074, allocations: 0 / 485.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.3075, allocations: 4 kB / 485.2 MB, free: 11.01 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 8.773e-05/0.3076, allocations: 121.8 kB / 485.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.3076, allocations: 7.953 kB / 485.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.3077, allocations: 170.8 kB / 485.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.277e-05/0.3078, allocations: 176.3 kB / 485.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.372e-05/0.3079, allocations: 184.3 kB / 485.9 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.43e-05/0.308, allocations: 184.2 kB / 486.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002725/0.3083, allocations: 417.1 kB / 486.5 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.683e-05/0.3083, allocations: 108.9 kB / 486.6 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.3084, allocations: 101 kB / 486.7 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.638e-05/0.3085, allocations: 188.2 kB / 486.9 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/0.3086, allocations: 180.2 kB / 487 MB, free: 9.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.267e-05/0.3087, allocations: 180.3 kB / 487.2 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-05/0.3087, allocations: 180.2 kB / 487.4 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.3089, allocations: 315.7 kB / 487.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/0.309, allocations: 182 kB / 487.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.3091, allocations: 180.3 kB / 488 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3092, allocations: 112.9 kB / 488.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.3093, allocations: 176.3 kB / 488.3 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.3094, allocations: 108.9 kB / 488.4 MB, free: 7.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.82e-05/0.3095, allocations: 99.22 kB / 488.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3095, allocations: 288 / 488.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001309/0.3108, allocations: 402.8 kB / 488.9 MB, free: 7.074 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.002348/0.3131, allocations: 1.366 MB / 490.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.704e-05/0.3132, allocations: 16.27 kB / 490.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3133, allocations: 0 / 490.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.3133, allocations: 0 / 490.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.3139, allocations: 495.9 kB / 490.8 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.3157, allocations: 1.549 MB / 492.3 MB, free: 3.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.316, allocations: 0.6768 MB / 493 MB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.949e-05/0.3161, allocations: 0 / 493 MB, free: 2.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.3161, allocations: 15.38 kB / 493 MB, free: 2.828 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3161, allocations: 4.031 kB / 493 MB, free: 2.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04475/0.3609, allocations: 15.46 MB / 0.4966 GB, free: 3.355 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/8.827, allocations: 12.05 kB / 0.4966 GB, free: 3.344 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 1 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)