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.001153/0.001153, allocations: 108 kB / 15.61 MB, free: 152 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.001203/0.001203, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.419/1.419, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04684/0.04684, allocations: 9.091 MB / 278.9 MB, free: 12.16 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.0014/0.0014, allocations: 71.88 kB / 338.1 MB, free: 25.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0751/0.07651, allocations: 48.15 MB / 386.3 MB, free: 9.133 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01894/0.09549, allocations: 16.89 MB / 403.2 MB, free: 8.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00186/0.09739, allocations: 1.865 MB / 405.1 MB, free: 6.293 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.198e-05/0.09743, allocations: 4 kB / 405.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.09802, allocations: 256 kB / 405.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.653e-05/0.09807, allocations: 27.83 kB / 405.3 MB, free: 6.012 MB / 302.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.006292/0.1044, allocations: 2.788 MB / 408.1 MB, free: 3.219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.956e-05/0.1045, allocations: 55.73 kB / 408.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.1045, allocations: 0 / 408.2 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.66e-05/0.1046, allocations: 31.8 kB / 408.2 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.872e-05/0.1046, allocations: 11.98 kB / 408.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.1047, allocations: 0 / 408.2 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006829/0.1115, allocations: 4.885 MB / 413.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.146e-05/0.1115, allocations: 3.938 kB / 413.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.1116, allocations: 15.94 kB / 413.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003173/0.1147, allocations: 1.984 MB / 415.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1148, allocations: 0 / 415.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1148, allocations: 0 / 415.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1148, allocations: 0 / 415.1 MB, free: 12.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007212/0.1155, allocations: 0.503 MB / 415.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.1156, allocations: 12.03 kB / 415.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.021e-05/0.1156, allocations: 34.56 kB / 415.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.1156, allocations: 3.906 kB / 415.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1157, allocations: 171 kB / 415.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1158, allocations: 4 kB / 415.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.4e-06/0.1158, allocations: 3.938 kB / 415.8 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.611e-05/0.1159, allocations: 37.69 kB / 415.9 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1159, allocations: 3.938 kB / 415.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-06/0.1159, allocations: 4 kB / 415.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1159, allocations: 3.984 kB / 415.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.267e-05/0.116, allocations: 12 kB / 415.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.1161, allocations: 165.6 kB / 416.1 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.1162, allocations: 34.56 kB / 416.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.523e-05/0.1162, allocations: 24.83 kB / 416.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1836/0.2998, allocations: 19.34 MB / 435.5 MB, free: 39.15 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2999, allocations: 39.55 kB / 435.5 MB, free: 39.11 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.415e-06/0.2999, allocations: 0 / 435.5 MB, free: 39.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002509/0.3001, allocations: 68.69 kB / 435.6 MB, free: 39.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.3002, allocations: 58.91 kB / 435.6 MB, free: 39.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.3002, allocations: 96.56 kB / 435.7 MB, free: 38.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/0.3003, allocations: 26.98 kB / 435.7 MB, free: 38.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.621e-05/0.3003, allocations: 80.8 kB / 435.8 MB, free: 38.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.3003, allocations: 24.23 kB / 435.8 MB, free: 38.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.3004, allocations: 18.69 kB / 435.9 MB, free: 38.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.3004, allocations: 317 kB / 436.2 MB, free: 38.47 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.3004, allocations: 11.2 kB / 436.2 MB, free: 38.47 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.029e-05/0.3005, allocations: 15.5 kB / 436.2 MB, free: 38.47 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.558e-05/0.3005, allocations: 37.83 kB / 436.2 MB, free: 38.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3005, allocations: 0 / 436.2 MB, free: 38.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.074e-05/0.3006, allocations: 61.81 kB / 436.3 MB, free: 38.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3006, allocations: 5.031 kB / 436.3 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3007, allocations: 0 / 436.3 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3007, allocations: 0 / 436.3 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.703e-06/0.3007, allocations: 1.766 kB / 436.3 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3007, allocations: 2.656 kB / 436.3 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.3007, allocations: 5.359 kB / 436.3 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3007, allocations: 3.656 kB / 436.3 MB, free: 38.43 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 (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 5.857e-05/0.3008, allocations: 116.2 kB / 436.4 MB, free: 38.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.3008, allocations: 8.75 kB / 436.4 MB, free: 38.31 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.301, allocations: 171.8 kB / 436.6 MB, free: 38.14 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.833e-05/0.301, allocations: 177.9 kB / 436.8 MB, free: 37.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-05/0.301, allocations: 185.6 kB / 437 MB, free: 37.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.678e-05/0.3011, allocations: 179.9 kB / 437.1 MB, free: 37.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3012, allocations: 416.7 kB / 437.5 MB, free: 37.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/0.3013, allocations: 106.3 kB / 437.6 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.3013, allocations: 106 kB / 437.7 MB, free: 36.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.562e-05/0.3013, allocations: 183 kB / 437.9 MB, free: 36.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.3013, allocations: 178 kB / 438.1 MB, free: 36.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.616e-05/0.3014, allocations: 181.8 kB / 438.3 MB, free: 36.4 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.968e-05/0.3014, allocations: 180.5 kB / 438.5 MB, free: 36.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.782e-05/0.3015, allocations: 312.1 kB / 438.8 MB, free: 35.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.3015, allocations: 180.6 kB / 438.9 MB, free: 35.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.3016, allocations: 192.9 kB / 439.1 MB, free: 35.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.3017, allocations: 103.8 kB / 439.2 MB, free: 35.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.3017, allocations: 182.1 kB / 439.4 MB, free: 35.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3017, allocations: 106 kB / 439.5 MB, free: 35.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.144e-05/0.3018, allocations: 102.5 kB / 439.6 MB, free: 35.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3018, allocations: 2 kB / 439.6 MB, free: 35.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001222/0.303, allocations: 386.4 kB / 440 MB, free: 35.04 MB / 318.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.001787/0.3048, allocations: 1.364 MB / 441.3 MB, free: 34.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.133e-05/0.3049, allocations: 23.81 kB / 441.4 MB, free: 34.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3049, allocations: 0 / 441.4 MB, free: 34.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.3049, allocations: 0 / 441.4 MB, free: 34.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3054, allocations: 488.1 kB / 441.8 MB, free: 33.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.3065, allocations: 1.525 MB / 443.4 MB, free: 32.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.3066, allocations: 0.6767 MB / 444.1 MB, free: 31.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.343e-05/0.3066, allocations: 1.375 kB / 444.1 MB, free: 31.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.3066, allocations: 15.12 kB / 444.1 MB, free: 31.59 MB / 318.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3067, allocations: 4.031 kB / 444.1 MB, free: 31.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.3463, allocations: 15.47 MB / 459.5 MB, free: 21.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.845/8.191, allocations: 11.81 kB / 459.6 MB, free: 21.91 MB / 318.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)