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.004545/0.004545, allocations: 97.39 kB / 15.73 MB, free: 6.484 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.001258/0.001258, allocations: 192 kB / 16.67 MB, free: 6.391 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.369/1.369, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05069/0.05069, allocations: 9.104 MB / 279 MB, free: 12.08 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.001998/0.001998, allocations: 71.89 kB / 387 MB, free: 8.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2318, 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.01729/0.2492, allocations: 16.88 MB / 452 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.2513, allocations: 1.85 MB / 453.9 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/0.2513, allocations: 1.5 kB / 453.9 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006358/0.252, allocations: 273.5 kB / 454.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.08e-05/0.252, allocations: 29.02 kB / 454.1 MB, free: 9.188 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.006905/0.259, allocations: 2.772 MB / 456.9 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2591, allocations: 62 kB / 457 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.2591, allocations: 6.125 kB / 457 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/0.2592, allocations: 26.95 kB / 457 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.851e-05/0.2593, allocations: 10.72 kB / 457 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.264e-06/0.2593, allocations: 0 / 457 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00752/0.2668, allocations: 4.959 MB / 462 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.2668, allocations: 1.375 kB / 462 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.2669, allocations: 12.19 kB / 462 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.2707, allocations: 1.996 MB / 464 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2707, allocations: 3.938 kB / 464 MB, free: 3.152 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2707, allocations: 0 / 464 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2707, 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.0008281/0.2715, allocations: 0.517 MB / 464.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2716, allocations: 14.28 kB / 464.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.2716, allocations: 31.78 kB / 464.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.265e-05/0.2716, allocations: 5.203 kB / 464.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.2718, allocations: 164.3 kB / 464.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2718, allocations: 0 / 464.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.2718, allocations: 1.156 kB / 464.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.2719, allocations: 44.33 kB / 464.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2719, allocations: 0 / 464.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.272, allocations: 7.922 kB / 464.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.272, allocations: 5.188 kB / 464.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.57e-05/0.272, allocations: 17.94 kB / 464.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.2722, allocations: 164.5 kB / 465 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.314e-05/0.2723, allocations: 34.84 kB / 465 MB, free: 2.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.2723, allocations: 18.77 kB / 465 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03142/0.3037, allocations: 19.36 MB / 484.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.3038, allocations: 34.55 kB / 484.4 MB, free: 11.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 7.104e-06/0.3038, allocations: 4 kB / 484.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002102/0.304, allocations: 77.61 kB / 484.5 MB, free: 11.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.3041, allocations: 51.41 kB / 484.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.718e-05/0.3042, allocations: 97.89 kB / 484.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3042, allocations: 25.7 kB / 484.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.3042, allocations: 84.14 kB / 484.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.3043, allocations: 23.78 kB / 484.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.3043, allocations: 17.72 kB / 484.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3045, allocations: 314.8 kB / 485.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.3045, allocations: 11.98 kB / 485.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.884e-05/0.3045, allocations: 12.12 kB / 485.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/0.3046, allocations: 40.81 kB / 485.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3046, allocations: 0 / 485.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.252e-05/0.3047, allocations: 65.58 kB / 485.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3047, allocations: 5.094 kB / 485.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3047, allocations: 0 / 485.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3047, allocations: 4 kB / 485.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3047, allocations: 0 / 485.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3048, allocations: 0 / 485.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.3048, allocations: 0 / 485.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3048, allocations: 0 / 485.2 MB, free: 11.02 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 9.244e-05/0.3049, allocations: 121.8 kB / 485.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.3049, allocations: 7.891 kB / 485.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001625/0.3051, allocations: 170.8 kB / 485.5 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.669e-05/0.3052, allocations: 180.3 kB / 485.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-05/0.3053, allocations: 184.2 kB / 485.9 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.578e-05/0.3054, allocations: 176.3 kB / 486 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.3057, allocations: 421.1 kB / 486.5 MB, free: 9.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.378e-05/0.3057, allocations: 112.9 kB / 486.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.3058, allocations: 105 kB / 486.7 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.143e-05/0.3059, allocations: 180.2 kB / 486.8 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.616e-05/0.306, allocations: 176.3 kB / 487 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.868e-05/0.3061, allocations: 188.2 kB / 487.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.474e-05/0.3062, allocations: 180.2 kB / 487.4 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.3063, allocations: 307.7 kB / 487.7 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.3065, allocations: 186 kB / 487.9 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.3066, allocations: 184.3 kB / 488 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/0.3067, allocations: 104.9 kB / 488.1 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.3068, allocations: 184.3 kB / 488.3 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/0.3068, allocations: 108.9 kB / 488.4 MB, free: 7.574 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.32e-05/0.3069, allocations: 99.27 kB / 488.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3069, allocations: 0 / 488.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001398/0.3083, allocations: 394.8 kB / 488.9 MB, free: 7.09 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.002021/0.3104, allocations: 1.37 MB / 490.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.499e-05/0.3104, allocations: 16.27 kB / 490.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3104, allocations: 4 kB / 490.3 MB, free: 5.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-06/0.3105, allocations: 3.938 kB / 490.3 MB, free: 5.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.3111, allocations: 492 kB / 490.8 MB, free: 5.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3126, allocations: 1.549 MB / 492.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.3129, allocations: 0.6768 MB / 493 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.184e-05/0.313, allocations: 4 kB / 493 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.313, allocations: 11.44 kB / 493 MB, free: 2.836 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.313, allocations: 4.031 kB / 493 MB, free: 2.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05489/0.3679, allocations: 15.46 MB / 0.4966 GB, free: 3.363 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.805/9.173, allocations: 7.984 kB / 0.4966 GB, free: 3.355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)