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.005527/0.005527, allocations: 102.2 kB / 15.73 MB, free: 5.992 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.00122/0.00122, allocations: 196 kB / 16.67 MB, free: 5.93 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.421/1.421, allocations: 205.1 MB / 222.5 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04722/0.04722, allocations: 9.096 MB / 279 MB, free: 11.95 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.001429/0.001429, allocations: 78.41 kB / 387 MB, free: 8.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2936, allocations: 48.14 MB / 435.1 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01961/0.3132, allocations: 16.91 MB / 452 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002007/0.3153, allocations: 1.847 MB / 453.9 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.24e-05/0.3154, allocations: 0 / 453.9 MB, free: 9.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006965/0.3161, allocations: 266.1 kB / 454.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.116e-05/0.3162, allocations: 30.11 kB / 454.1 MB, free: 9.195 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.008702/0.3249, allocations: 2.784 MB / 456.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.325, allocations: 52.89 kB / 457 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.201e-05/0.3251, allocations: 2.969 kB / 457 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.3252, allocations: 22.34 kB / 457 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.386e-05/0.3252, allocations: 19.08 kB / 457 MB, free: 7.406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.336e-06/0.3252, allocations: 3.938 kB / 457 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008352/0.3336, allocations: 4.956 MB / 462 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.3336, allocations: 1.312 kB / 462 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.3337, allocations: 11.47 kB / 462 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00523/0.3389, allocations: 1.993 MB / 464 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.339, allocations: 1.781 kB / 464 MB, free: 3.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.339, allocations: 4 kB / 464 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.339, 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.00104/0.3401, allocations: 0.5024 MB / 464.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3401, allocations: 10.06 kB / 464.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.258e-05/0.3401, allocations: 31.88 kB / 464.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.3402, allocations: 1.438 kB / 464.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001277/0.3403, allocations: 176.4 kB / 464.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3403, allocations: 0 / 464.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.3403, allocations: 0 / 464.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3405, allocations: 40.58 kB / 464.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.3405, allocations: 0 / 464.7 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.3405, allocations: 1.25 kB / 464.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.3405, allocations: 0 / 464.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.3405, allocations: 15.05 kB / 464.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001648/0.3407, allocations: 167.9 kB / 464.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.517e-05/0.3408, allocations: 34.42 kB / 465 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.3408, allocations: 18.8 kB / 465 MB, free: 2.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03603/0.3768, allocations: 19.37 MB / 484.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.3769, allocations: 34.56 kB / 484.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 3.506e-06/0.3769, allocations: 4 kB / 484.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002811/0.3772, allocations: 73.83 kB / 484.5 MB, free: 11.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.3773, allocations: 55.34 kB / 484.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.3774, allocations: 97.84 kB / 484.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3774, allocations: 25.7 kB / 484.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.3775, allocations: 80.14 kB / 484.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.091e-05/0.3776, allocations: 23.66 kB / 484.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.3776, allocations: 13.72 kB / 484.7 MB, free: 11.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3778, allocations: 326.9 kB / 485.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.757e-05/0.3778, allocations: 12 kB / 485.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.679e-05/0.3779, allocations: 15.98 kB / 485.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.549e-05/0.3779, allocations: 32.84 kB / 485.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.378, allocations: 4 kB / 485.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001315/0.3781, allocations: 57.62 kB / 485.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.3781, allocations: 4 kB / 485.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3782, allocations: 7.938 kB / 485.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.3782, allocations: 0 / 485.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.3782, allocations: 8 kB / 485.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3782, allocations: 0 / 485.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.3783, allocations: 0 / 485.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.3783, allocations: 0 / 485.2 MB, free: 11.04 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.992e-05/0.3784, allocations: 117.8 kB / 485.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.3784, allocations: 3.906 kB / 485.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.3786, allocations: 170.9 kB / 485.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.695e-05/0.3787, allocations: 180.2 kB / 485.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.537e-05/0.3788, allocations: 188.3 kB / 485.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.228e-05/0.3789, allocations: 176.3 kB / 486 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.3793, allocations: 417 kB / 486.4 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.882e-05/0.3794, allocations: 109 kB / 486.5 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.3794, allocations: 104.9 kB / 486.6 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.942e-05/0.3795, allocations: 184.2 kB / 486.8 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-05/0.3796, allocations: 180.2 kB / 487 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.217e-05/0.3797, allocations: 184.3 kB / 487.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.641e-05/0.3798, allocations: 176.3 kB / 487.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.38, allocations: 315.7 kB / 487.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3801, allocations: 185.9 kB / 487.8 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.3803, allocations: 180.3 kB / 488 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3804, allocations: 101 kB / 488.1 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/0.3805, allocations: 180.2 kB / 488.3 MB, free: 7.727 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.3806, allocations: 109 kB / 488.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.706e-05/0.3807, allocations: 103.3 kB / 488.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3807, allocations: 0 / 488.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002246/0.383, allocations: 391.8 kB / 488.9 MB, free: 7.129 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.003988/0.387, allocations: 1.363 MB / 490.2 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.3871, allocations: 20.27 kB / 490.3 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3871, allocations: 0 / 490.3 MB, free: 5.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/0.3872, allocations: 3.938 kB / 490.3 MB, free: 5.715 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/0.3879, allocations: 495.6 kB / 490.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.3901, allocations: 1.535 MB / 492.3 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/0.3905, allocations: 0.6847 MB / 493 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.119e-05/0.3905, allocations: 0 / 493 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.3906, allocations: 7.438 kB / 493 MB, free: 2.895 MB / 366.1 MB Notification: Performance of SimCode: time 3.446e-06/0.3906, allocations: 4 kB / 493 MB, free: 2.891 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06324/0.4538, allocations: 15.47 MB / 0.4965 GB, free: 3.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.29/8.744, allocations: 9.453 kB / 0.4965 GB, free: 3.402 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)