Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_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_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_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.001258/0.001258, allocations: 108 kB / 15.6 MB, free: 132 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.001363/0.001363, allocations: 193.1 kB / 16.53 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.51/1.51, allocations: 205.1 MB / 222.4 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04945/0.04945, allocations: 9.085 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.001447/0.001447, allocations: 68.38 kB / 338.1 MB, free: 25.32 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09504, allocations: 48.16 MB / 386.3 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pT_parameter): time 0.01945/0.1145, allocations: 17 MB / 403.3 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.1257, allocations: 11.09 MB / 414.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.416e-05/0.1259, allocations: 0 / 414.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000764/0.1267, allocations: 255.5 kB / 414.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.659e-05/0.1268, allocations: 35.75 kB / 414.7 MB, free: 12.62 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:1231:13-1231:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01627/0.1431, allocations: 5.791 MB / 420.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.1433, allocations: 75.55 kB / 420.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.1433, allocations: 4 kB / 420.5 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.755e-05/0.1434, allocations: 39.8 kB / 420.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.1435, allocations: 19.92 kB / 420.6 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.1435, allocations: 4 kB / 420.6 MB, free: 6.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2127/0.3562, allocations: 8.273 MB / 428.9 MB, free: 20.93 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.667e-05/0.3563, allocations: 8.547 kB / 428.9 MB, free: 20.93 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.3564, allocations: 24.05 kB / 428.9 MB, free: 20.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.3681, allocations: 3.659 MB / 432.6 MB, free: 20.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3681, allocations: 1.312 kB / 432.6 MB, free: 20.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3681, allocations: 0 / 432.6 MB, free: 20.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.3681, allocations: 0 / 432.6 MB, free: 20.89 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.002582/0.3707, allocations: 0.7819 MB / 433.3 MB, free: 20.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/0.3708, allocations: 10.72 kB / 433.4 MB, free: 20.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.363e-05/0.3708, allocations: 33.73 kB / 433.4 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.3709, allocations: 8 kB / 433.4 MB, free: 20.28 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.371, allocations: 171.3 kB / 433.6 MB, free: 20.08 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.371, allocations: 1.875 kB / 433.6 MB, free: 20.08 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.371, allocations: 1.875 kB / 433.6 MB, free: 20.08 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.3711, allocations: 54.95 kB / 433.6 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3712, allocations: 0.5938 kB / 433.6 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3712, allocations: 3.422 kB / 433.6 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3712, allocations: 8.219 kB / 433.6 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.229e-05/0.3712, allocations: 25.86 kB / 433.7 MB, free: 20.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.3714, allocations: 196.2 kB / 433.9 MB, free: 19.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.47e-05/0.3715, allocations: 48.64 kB / 433.9 MB, free: 19.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.245e-05/0.3715, allocations: 35.67 kB / 433.9 MB, free: 19.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06682/0.4384, allocations: 41.39 MB / 475.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.4385, allocations: 33.25 kB / 475.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 3.155e-06/0.4385, allocations: 4 kB / 475.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003103/0.4388, allocations: 125.8 kB / 475.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.4388, allocations: 54.59 kB / 475.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.586e-05/0.4389, allocations: 97.94 kB / 475.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.4389, allocations: 25.7 kB / 475.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.439, allocations: 82.88 kB / 475.7 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/0.4391, allocations: 46.33 kB / 475.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.4391, allocations: 24.08 kB / 475.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4392, allocations: 322.7 kB / 476.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.4393, allocations: 22.67 kB / 476.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.4393, allocations: 28.02 kB / 476.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.122e-05/0.4394, allocations: 63.59 kB / 476.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4394, allocations: 0 / 476.2 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001354/0.4395, allocations: 103.5 kB / 476.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.4396, allocations: 3.562 kB / 476.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4396, allocations: 0 / 476.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4396, allocations: 3.625 kB / 476.3 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.4396, allocations: 4 kB / 476.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4396, allocations: 2.188 kB / 476.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.4397, allocations: 3.938 kB / 476.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.4397, allocations: 3.594 kB / 476.4 MB, free: 13.02 MB / 350.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: 2 (state_ps.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * 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.0001015/0.4398, allocations: 109.7 kB / 476.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.4398, allocations: 7.438 kB / 476.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.44, allocations: 162.4 kB / 476.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4401, allocations: 0 / 476.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4401, allocations: 0 / 476.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4401, allocations: 5.875 kB / 476.6 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.4402, allocations: 170.8 kB / 476.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4403, allocations: 0 / 476.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.4403, allocations: 0 / 476.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4403, allocations: 2.469 kB / 476.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.4403, allocations: 0 / 476.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.4403, allocations: 4.719 kB / 476.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4403, allocations: 0 / 476.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.4404, allocations: 106.7 kB / 476.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-05/0.4405, allocations: 78.19 kB / 477 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.4405, allocations: 7.156 kB / 477 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.4406, allocations: 0 / 477 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.4406, allocations: 3.562 kB / 477 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.4406, allocations: 3.938 kB / 477 MB, free: 12.4 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.763e-05/0.4407, allocations: 104.2 kB / 477.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4407, allocations: 0 / 477.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003554/0.4442, allocations: 0.8577 MB / 478 MB, free: 12.14 MB / 350.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: 1 (state_ps.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.006495/0.4507, allocations: 1.902 MB / 479.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001661/0.4509, allocations: 51.2 kB / 479.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4509, allocations: 0 / 479.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.406e-05/0.451, allocations: 19.52 kB / 479.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.4515, allocations: 59.34 kB / 480 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003945/0.4555, allocations: 1.65 MB / 481.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.4558, allocations: 0.6836 MB / 482.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.303e-05/0.4558, allocations: 7.094 kB / 482.3 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.4559, allocations: 18.67 kB / 482.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4559, allocations: 3.375 kB / 482.4 MB, free: 9.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06063/0.5165, allocations: 25.77 MB / 0.4962 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.227/9.744, allocations: 12.06 kB / 0.4962 GB, free: 0.7227 MB / 366.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pT_parameter.pipe 2>&1)