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.004876/0.004876, allocations: 98.97 kB / 15.73 MB, free: 6.012 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: 201.5 kB / 16.68 MB, free: 5.926 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.446/1.446, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05242/0.05242, allocations: 9.096 MB / 279 MB, free: 12.09 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.002118/0.002118, allocations: 64.47 kB / 387 MB, free: 8.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2565, allocations: 48.16 MB / 435.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.0183/0.2748, allocations: 17.26 MB / 452.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.2909, allocations: 15.55 MB / 467.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000167/0.2911, allocations: 4 kB / 467.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.2925, allocations: 380 kB / 468.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003559/0.2961, allocations: 1.277 MB / 469.6 MB, free: 12.89 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.01215/0.3082, allocations: 4.411 MB / 474 MB, free: 9.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.3085, allocations: 156.5 kB / 474.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.88e-05/0.3086, allocations: 13.06 kB / 474.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.3087, allocations: 63.67 kB / 474.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.3088, allocations: 59.7 kB / 474.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.3089, allocations: 0 / 474.3 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01659/0.3255, allocations: 8.585 MB / 482.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.3255, allocations: 19.91 kB / 482.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.3256, allocations: 51.69 kB / 482.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009848/0.3355, allocations: 3.495 MB / 486.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3355, allocations: 0 / 486.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.619e-06/0.3356, allocations: 4 kB / 486.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3356, allocations: 3.938 kB / 486.4 MB, free: 13.34 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.001661/0.3372, allocations: 0.8154 MB / 487.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3373, allocations: 8.031 kB / 487.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.105e-05/0.3373, allocations: 46.55 kB / 487.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.3378, allocations: 59.84 kB / 487.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3379, allocations: 178.9 kB / 487.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.338, allocations: 11.94 kB / 487.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.338, allocations: 8 kB / 487.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000417/0.3384, allocations: 261.3 kB / 487.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3384, allocations: 0 / 487.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3385, allocations: 8 kB / 487.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.3385, allocations: 0 / 487.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005979/0.3391, allocations: 451.5 kB / 488.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.3395, allocations: 346.3 kB / 488.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004043/0.3399, allocations: 278.4 kB / 488.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003001/0.3402, allocations: 244.8 kB / 489.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01772/0.3579, allocations: 10.01 MB / 499.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.358, allocations: 34.56 kB / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.445e-06/0.358, allocations: 0 / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.00107/0.3591, allocations: 0.6658 MB / 499.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.3592, allocations: 51.53 kB / 499.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.191e-05/0.3593, allocations: 113.7 kB / 500 MB, free: 13.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/0.3593, allocations: 25.7 kB / 0.4883 GB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.3593, allocations: 80.8 kB / 0.4884 GB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.3595, allocations: 146.7 kB / 0.4885 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.088e-05/0.3596, allocations: 49.69 kB / 0.4886 GB, free: 13.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3597, allocations: 326.8 kB / 0.4889 GB, free: 13.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.36, allocations: 183.9 kB / 0.489 GB, free: 13.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002452/0.3602, allocations: 193.1 kB / 0.4892 GB, free: 12.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/0.3608, allocations: 439.6 kB / 0.4896 GB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3608, allocations: 0 / 0.4896 GB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006502/0.3615, allocations: 0.4921 MB / 0.4901 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3615, allocations: 4 kB / 0.4901 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3615, allocations: 0 / 0.4901 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.3615, allocations: 4 kB / 0.4901 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.3617, allocations: 23.98 kB / 0.4902 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3617, allocations: 4 kB / 0.4902 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.322e-05/0.3618, allocations: 15.83 kB / 0.4902 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.3618, allocations: 11.98 kB / 0.4902 GB, free: 11.87 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.0001084/0.3619, allocations: 113.8 kB / 0.4903 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.362, allocations: 19.84 kB / 0.4903 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009175/0.3629, allocations: 0.6827 MB / 0.491 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3629, allocations: 0 / 0.491 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.3629, allocations: 4 kB / 0.491 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.363, allocations: 7.938 kB / 0.491 GB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.3642, allocations: 0.9006 MB / 0.4919 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3642, allocations: 0 / 0.4919 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.3644, allocations: 35.91 kB / 0.4919 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.3644, allocations: 4 kB / 0.4919 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.3644, allocations: 8 kB / 0.4919 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.3644, allocations: 7.984 kB / 0.4919 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3644, allocations: 4 kB / 0.4919 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005063/0.365, allocations: 376.1 kB / 0.4923 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.365, allocations: 81.11 kB / 0.4924 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.3651, allocations: 19.84 kB / 0.4924 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3652, allocations: 11.98 kB / 0.4924 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.3653, allocations: 23.86 kB / 0.4924 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.3653, allocations: 8 kB / 0.4924 GB, free: 9.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.3655, allocations: 171.2 kB / 0.4926 GB, free: 9.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3655, allocations: 0 / 0.4926 GB, free: 9.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001999/0.3675, allocations: 0.7594 MB / 0.4933 GB, free: 8.387 MB / 382.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.003696/0.3712, allocations: 2.023 MB / 0.4953 GB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005449/0.3717, allocations: 339.7 kB / 0.4956 GB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3718, allocations: 0 / 0.4956 GB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.3719, allocations: 104.2 kB / 0.4957 GB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.3726, allocations: 81.25 kB / 0.4958 GB, free: 5.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.3764, allocations: 3.102 MB / 0.4988 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3768, allocations: 0.7084 MB / 0.4995 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004151/0.3772, allocations: 291.8 kB / 0.4998 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.864e-05/0.3773, allocations: 47.41 kB / 0.4998 GB, free: 1.473 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.3773, allocations: 4 kB / 0.4999 GB, free: 1.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06385/0.4412, allocations: 28.28 MB / 0.5275 GB, free: 5.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.787/9.228, allocations: 15.72 kB / 0.5275 GB, free: 5.176 MB / 414.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)