Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ph_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_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.005042/0.005042, allocations: 101.1 kB / 15.73 MB, free: 6.066 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.001873/0.001873, allocations: 189.7 kB / 16.67 MB, free: 5.977 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.427/1.427, 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.05098/0.05098, allocations: 9.095 MB / 279 MB, free: 12.06 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.002295/0.002295, allocations: 67.91 kB / 387 MB, free: 8.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2488, allocations: 48.17 MB / 435.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01768/0.2666, allocations: 16.83 MB / 452 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.2772, allocations: 9.749 MB / 461.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.2772, allocations: 0 / 461.7 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.278, allocations: 259.9 kB / 462 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.2781, allocations: 23.06 kB / 462 MB, free: 2.758 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/Interfaces/PartialHelmholtzMedium/package.mo:887:13-887: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:887:13-887: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.01364/0.2917, allocations: 5.084 MB / 467.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.2919, allocations: 50.77 kB / 467.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.597e-05/0.2919, allocations: 1.281 kB / 467.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.772e-05/0.292, allocations: 25.55 kB / 467.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.883e-05/0.2921, allocations: 18.8 kB / 467.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.055e-06/0.2921, allocations: 0 / 467.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01397/0.3061, allocations: 7.84 MB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.167e-05/0.3061, allocations: 4 kB / 475 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.093e-05/0.3062, allocations: 19.88 kB / 475 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008026/0.3142, allocations: 3.297 MB / 478.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3143, allocations: 4 kB / 478.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.569e-06/0.3143, allocations: 0 / 478.3 MB, free: 5.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3143, allocations: 7.938 kB / 478.3 MB, free: 5.484 MB / 350.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.001475/0.3158, allocations: 0.7145 MB / 479 MB, free: 4.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3158, allocations: 8.031 kB / 479 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.3159, allocations: 34.56 kB / 479.1 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.3159, allocations: 7.953 kB / 479.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.3161, allocations: 167 kB / 479.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3161, allocations: 4 kB / 479.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.3161, allocations: 4 kB / 479.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.3162, allocations: 41.69 kB / 479.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3162, allocations: 0 / 479.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.3162, allocations: 0 / 479.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3163, allocations: 0 / 479.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.793e-05/0.3163, allocations: 12 kB / 479.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002034/0.3165, allocations: 165.6 kB / 479.5 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.339e-05/0.3166, allocations: 38.53 kB / 479.5 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.768e-05/0.3166, allocations: 20.86 kB / 479.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02797/0.3446, allocations: 14 MB / 493.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.3447, allocations: 30.56 kB / 493.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/0.3447, allocations: 0 / 493.6 MB, free: 3.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002111/0.3449, allocations: 89.55 kB / 493.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.3449, allocations: 55.34 kB / 493.7 MB, free: 3.527 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.115e-05/0.345, allocations: 97.83 kB / 493.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3451, allocations: 29.7 kB / 493.8 MB, free: 3.387 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.3451, allocations: 80.14 kB / 493.9 MB, free: 3.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.3451, allocations: 23.78 kB / 493.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-05/0.3452, allocations: 13.72 kB / 493.9 MB, free: 3.262 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3453, allocations: 314.8 kB / 494.2 MB, free: 2.945 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/0.3454, allocations: 19.92 kB / 494.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.3454, allocations: 8 kB / 494.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.3454, allocations: 41 kB / 494.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3455, allocations: 0 / 494.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.616e-05/0.3455, allocations: 65.61 kB / 494.4 MB, free: 2.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.3456, allocations: 4 kB / 494.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3456, allocations: 0 / 494.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3456, allocations: 0 / 494.4 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-06/0.3456, allocations: 4 kB / 494.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3456, allocations: 0 / 494.4 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.217e-05/0.3456, allocations: 7.891 kB / 494.4 MB, free: 2.789 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3457, allocations: 0 / 494.4 MB, free: 2.789 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.249e-05/0.3458, allocations: 117.9 kB / 494.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.3458, allocations: 0 / 494.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.346, allocations: 166.9 kB / 494.7 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.673e-05/0.3461, allocations: 192.2 kB / 494.9 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.592e-05/0.3461, allocations: 176.3 kB / 495 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-05/0.3462, allocations: 192.1 kB / 495.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002769/0.3465, allocations: 413.1 kB / 495.6 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-05/0.3466, allocations: 105 kB / 495.7 MB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.373e-05/0.3466, allocations: 104.9 kB / 495.8 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.046e-05/0.3467, allocations: 176.3 kB / 496 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.422e-05/0.3468, allocations: 184.2 kB / 496.2 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.586e-05/0.3469, allocations: 188.2 kB / 496.4 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.933e-05/0.347, allocations: 176.3 kB / 496.5 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.3471, allocations: 307.7 kB / 496.8 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.3473, allocations: 186 kB / 497 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.704e-05/0.3474, allocations: 188.3 kB / 497.2 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.3475, allocations: 101 kB / 497.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.405e-05/0.3476, allocations: 188.1 kB / 497.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.3476, allocations: 109 kB / 497.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.283e-05/0.3477, allocations: 99.27 kB / 497.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.396e-06/0.3477, allocations: 0 / 497.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001832/0.3495, allocations: 0.7593 MB / 498.4 MB, free: 14.48 MB / 382.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.003666/0.3532, allocations: 1.912 MB / 0.4886 GB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.751e-05/0.3533, allocations: 27.92 kB / 0.4887 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3533, allocations: 0 / 0.4887 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-06/0.3534, allocations: 0 / 0.4887 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/0.354, allocations: 492.2 kB / 0.4891 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3559, allocations: 1.708 MB / 0.4908 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3562, allocations: 0.6805 MB / 0.4915 GB, free: 9.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.689e-05/0.3563, allocations: 4.031 kB / 0.4915 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.3563, allocations: 11.44 kB / 0.4915 GB, free: 9.52 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3563, allocations: 0 / 0.4915 GB, free: 9.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05574/0.4121, allocations: 23.27 MB / 0.5142 GB, free: 2.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.671/9.084, allocations: 7.984 kB / 0.5142 GB, free: 2.223 MB / 398.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ph_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1)