Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_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_pd_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_pd_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_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.004836/0.004836, allocations: 104.8 kB / 15.74 MB, free: 5.988 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.001417/0.001418, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.38/1.38, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04495/0.04495, allocations: 9.092 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.001806/0.001806, allocations: 70.41 kB / 387 MB, free: 8.527 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.258, allocations: 48.15 MB / 435.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01869/0.2768, allocations: 16.9 MB / 452 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005707/0.2825, allocations: 5.799 MB / 457.8 MB, free: 6.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.2826, allocations: 3.938 kB / 457.8 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006632/0.2833, allocations: 262 kB / 458.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.606e-05/0.2833, allocations: 30.95 kB / 458.1 MB, free: 5.949 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.01043/0.2938, allocations: 4.1 MB / 462.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.2939, allocations: 60.84 kB / 462.3 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.2939, allocations: 5.531 kB / 462.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.207e-05/0.294, allocations: 30.83 kB / 462.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.2941, allocations: 10.62 kB / 462.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.2941, allocations: 1.094 kB / 462.3 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0127/0.3068, allocations: 6.86 MB / 469.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.3068, allocations: 3.984 kB / 469.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.23e-05/0.3069, allocations: 15.94 kB / 469.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007027/0.314, allocations: 2.849 MB / 472 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.314, allocations: 0 / 472 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.314, allocations: 4 kB / 472 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.314, allocations: 0 / 472 MB, free: 11.79 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.001128/0.3151, allocations: 0.6122 MB / 472.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3152, allocations: 8.031 kB / 472.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/0.3153, allocations: 42.48 kB / 472.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.88e-05/0.3153, allocations: 4 kB / 472.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.3154, allocations: 166.9 kB / 472.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.3154, allocations: 0 / 472.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.3154, allocations: 0 / 472.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/0.3155, allocations: 45.69 kB / 472.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.3155, allocations: 0 / 472.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.3155, allocations: 3.938 kB / 472.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3156, allocations: 0 / 472.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.441e-05/0.3156, allocations: 12 kB / 472.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001771/0.3158, allocations: 165.6 kB / 473.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.995e-05/0.3158, allocations: 34.52 kB / 473.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.3159, allocations: 20.88 kB / 473.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01869/0.3345, allocations: 9.941 MB / 483.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.3346, allocations: 34.5 kB / 483.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.3346, allocations: 0 / 483.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002246/0.3349, allocations: 81.59 kB / 483.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3349, allocations: 55.34 kB / 483.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.335, allocations: 97.84 kB / 483.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.335, allocations: 29.7 kB / 483.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.3351, allocations: 80.14 kB / 483.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3351, allocations: 15.72 kB / 483.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.3351, allocations: 25.58 kB / 483.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3353, allocations: 319 kB / 483.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.3353, allocations: 8 kB / 483.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.788e-05/0.3353, allocations: 12 kB / 483.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.469e-05/0.3354, allocations: 37.14 kB / 483.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3354, allocations: 0 / 483.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.825e-05/0.3355, allocations: 69.55 kB / 483.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3355, allocations: 4 kB / 483.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.3355, allocations: 0 / 483.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3355, allocations: 4 kB / 483.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.3355, allocations: 0 / 483.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3355, allocations: 4.062 kB / 483.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.3356, allocations: 11.92 kB / 483.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.3356, allocations: 0 / 483.9 MB, free: 13.91 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 8.345e-05/0.3357, allocations: 109.8 kB / 484.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.3357, allocations: 7.844 kB / 484.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.3358, allocations: 162.9 kB / 484.2 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.037e-05/0.3359, allocations: 192.2 kB / 484.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-05/0.336, allocations: 180.3 kB / 484.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.471e-05/0.336, allocations: 184.2 kB / 484.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.3363, allocations: 405.2 kB / 485.2 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.37e-05/0.3363, allocations: 109 kB / 485.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.3364, allocations: 108.9 kB / 485.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.397e-05/0.3364, allocations: 184.2 kB / 485.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.3365, allocations: 180.2 kB / 485.7 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.939e-05/0.3366, allocations: 180.3 kB / 485.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-05/0.3366, allocations: 176.3 kB / 486.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.3368, allocations: 307.8 kB / 486.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.3368, allocations: 190 kB / 486.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.452e-05/0.3369, allocations: 184.2 kB / 486.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.337, allocations: 101 kB / 486.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.3371, allocations: 188.2 kB / 487 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.3371, allocations: 109 kB / 487.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.532e-05/0.3372, allocations: 107.1 kB / 487.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3372, allocations: 4 kB / 487.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001505/0.3387, allocations: 0.5973 MB / 487.8 MB, free: 9.781 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.002635/0.3414, allocations: 1.664 MB / 489.5 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.091e-05/0.3415, allocations: 19.94 kB / 489.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.3415, allocations: 0 / 489.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3415, allocations: 0 / 489.5 MB, free: 8.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005177/0.342, allocations: 487.7 kB / 490 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.3435, allocations: 1.632 MB / 491.6 MB, free: 5.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3438, allocations: 0.6769 MB / 492.3 MB, free: 5.172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.398e-05/0.3438, allocations: 3.984 kB / 492.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.3438, allocations: 15.44 kB / 492.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3438, allocations: 0 / 492.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04384/0.3877, allocations: 20.96 MB / 0.5013 GB, free: 188 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.543/8.931, allocations: 7.938 kB / 0.5013 GB, free: 180 kB / 382.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_pd_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_pd_parameter.pipe 2>&1)