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: "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_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.001475/0.001475, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.457/1.457, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04372/0.04372, allocations: 9.097 MB / 278.9 MB, free: 12.1 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.001442/0.001442, allocations: 67.88 kB / 338.1 MB, free: 25.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08425/0.08571, allocations: 48.16 MB / 386.3 MB, free: 9.129 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01946/0.1052, allocations: 17.26 MB / 403.6 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.1195, allocations: 15.53 MB / 419.1 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.1196, allocations: 0 / 419.1 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001089/0.1208, allocations: 387.3 kB / 419.5 MB, free: 7.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.1239, allocations: 1.282 MB / 420.8 MB, free: 6.535 MB / 318.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.01191/0.1358, allocations: 4.413 MB / 425.2 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.1361, allocations: 147.2 kB / 425.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.978e-05/0.1361, allocations: 9.078 kB / 425.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1362, allocations: 71.66 kB / 425.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.107e-05/0.1363, allocations: 47.67 kB / 425.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.1363, allocations: 4 kB / 425.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2124/0.3487, allocations: 8.379 MB / 433.8 MB, free: 18.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.3488, allocations: 14.28 kB / 433.8 MB, free: 18.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.349, allocations: 53.5 kB / 433.9 MB, free: 18.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.3597, allocations: 3.503 MB / 437.4 MB, free: 18.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3597, allocations: 1.188 kB / 437.4 MB, free: 18.23 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3597, allocations: 0 / 437.4 MB, free: 18.23 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.3597, allocations: 0 / 437.4 MB, free: 18.23 MB / 318.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.00219/0.3619, allocations: 0.7855 MB / 438.2 MB, free: 17.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.362, allocations: 9.469 kB / 438.2 MB, free: 17.66 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.875e-05/0.3621, allocations: 52.64 kB / 438.2 MB, free: 17.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.3625, allocations: 56.09 kB / 438.3 MB, free: 17.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3626, allocations: 178.8 kB / 438.5 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.3626, allocations: 3.281 kB / 438.5 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.3627, allocations: 3.688 kB / 438.5 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004694/0.3632, allocations: 269.5 kB / 438.7 MB, free: 17.38 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3632, allocations: 0 / 438.7 MB, free: 17.38 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3632, allocations: 1.844 kB / 438.7 MB, free: 17.38 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.3632, allocations: 5.562 kB / 438.7 MB, free: 17.38 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005296/0.3638, allocations: 457.1 kB / 439.2 MB, free: 17.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.3641, allocations: 328.3 kB / 439.5 MB, free: 17.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.3644, allocations: 271.7 kB / 439.8 MB, free: 17.15 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/0.3647, allocations: 246.8 kB / 440 MB, free: 17.14 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01473/0.3794, allocations: 10.02 MB / 450 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3795, allocations: 38.22 kB / 450.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 2.775e-06/0.3795, allocations: 3.562 kB / 450.1 MB, free: 8.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009254/0.3804, allocations: 0.6632 MB / 450.7 MB, free: 8.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.3805, allocations: 62.28 kB / 450.8 MB, free: 8.203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.807e-05/0.3805, allocations: 98.56 kB / 450.9 MB, free: 8.102 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3806, allocations: 29.64 kB / 450.9 MB, free: 8.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.915e-05/0.3806, allocations: 80.8 kB / 451 MB, free: 7.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.054e-05/0.3807, allocations: 131 kB / 451.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.3808, allocations: 44.34 kB / 451.2 MB, free: 7.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.3808, allocations: 321.7 kB / 451.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.381, allocations: 195.4 kB / 451.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.3813, allocations: 189.4 kB / 451.9 MB, free: 7.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000557/0.3818, allocations: 452.8 kB / 452.3 MB, free: 7.523 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3818, allocations: 0 / 452.3 MB, free: 7.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005679/0.3824, allocations: 492.4 kB / 452.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3824, allocations: 4.531 kB / 452.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.3825, allocations: 1.688 kB / 452.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3825, allocations: 2.438 kB / 452.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.3826, allocations: 31.44 kB / 452.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3827, allocations: 7.938 kB / 452.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.333e-05/0.3828, allocations: 22.16 kB / 452.9 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.3828, allocations: 8.969 kB / 452.9 MB, free: 7.426 MB / 318.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 9.216e-05/0.3829, allocations: 117.4 kB / 453 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.3829, allocations: 13.22 kB / 453 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.3837, allocations: 0.6744 MB / 453.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3837, allocations: 1.375 kB / 453.7 MB, free: 7.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3837, allocations: 3.938 kB / 453.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3837, allocations: 1.375 kB / 453.7 MB, free: 7.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009774/0.3847, allocations: 0.9043 MB / 454.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.3847, allocations: 4.312 kB / 454.6 MB, free: 6.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3848, allocations: 37.34 kB / 454.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3848, allocations: 0 / 454.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3848, allocations: 14.77 kB / 454.6 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3848, allocations: 7.562 kB / 454.6 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3849, allocations: 6.984 kB / 454.6 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.3852, allocations: 369.2 kB / 455 MB, free: 6.281 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.3853, allocations: 88.64 kB / 455.1 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/0.3853, allocations: 16.61 kB / 455.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.3854, allocations: 3.531 kB / 455.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3855, allocations: 26.59 kB / 455.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.3855, allocations: 11.03 kB / 455.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.3856, allocations: 173 kB / 455.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3856, allocations: 0 / 455.3 MB, free: 6.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002623/0.3883, allocations: 0.7424 MB / 456.1 MB, free: 5.918 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (12): * Single equations (assignments): 12 * 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.003919/0.3922, allocations: 2.017 MB / 458.1 MB, free: 4.848 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004471/0.3926, allocations: 346.2 kB / 458.4 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.3927, allocations: 4 kB / 458.4 MB, free: 4.797 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3928, allocations: 100.9 kB / 458.5 MB, free: 4.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006479/0.3935, allocations: 81.17 kB / 458.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.3965, allocations: 3.063 MB / 461.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3967, allocations: 0.7074 MB / 462.4 MB, free: 17.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003392/0.3971, allocations: 292.7 kB / 462.7 MB, free: 17.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.223e-05/0.3972, allocations: 45.61 kB / 462.7 MB, free: 17.53 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3972, allocations: 0 / 462.7 MB, free: 17.53 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06192/0.4591, allocations: 28.33 MB / 491 MB, free: 6.836 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.505/8.964, allocations: 11.12 kB / 491 MB, free: 6.828 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_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_dT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1)