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.0009548/0.0009548, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009698/0.0009699, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04216/0.04216, allocations: 9.063 MB / 279.4 MB, free: 12.28 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.0004753/0.0004754, allocations: 15.94 kB / 339.2 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09274/0.09322, allocations: 49.18 MB / 388.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01502/0.1083, allocations: 14.07 MB / 402.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008167/0.1165, allocations: 8.426 MB / 410.9 MB, free: 2.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.1166, allocations: 0 / 410.9 MB, free: 2.133 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006404/0.1172, allocations: 227.2 kB / 411.1 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.1173, allocations: 27.95 kB / 411.1 MB, free: 1.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0107/0.128, allocations: 4.134 MB / 415.3 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.1281, allocations: 35.94 kB / 415.3 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.1282, allocations: 8.266 kB / 415.3 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.315e-05/0.1283, allocations: 23.92 kB / 415.3 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.1283, allocations: 11.92 kB / 415.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-06/0.1283, allocations: 4 kB / 415.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01247/0.1408, allocations: 7.212 MB / 422.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.1409, allocations: 4 kB / 422.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.1409, allocations: 29.7 kB / 422.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.1444, allocations: 1.778 MB / 424.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1444, allocations: 0 / 424.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1444, allocations: 3.938 kB / 424.4 MB, free: 4.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1444, allocations: 0 / 424.4 MB, free: 4.629 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001162/0.1456, allocations: 0.6825 MB / 425 MB, free: 3.898 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.1457, allocations: 12.03 kB / 425.1 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.1457, allocations: 34.56 kB / 425.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.1458, allocations: 7.906 kB / 425.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1459, allocations: 171 kB / 425.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.1459, allocations: 0 / 425.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.1459, allocations: 0 / 425.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1461, allocations: 41.64 kB / 425.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1461, allocations: 0 / 425.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1461, allocations: 3.953 kB / 425.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1461, allocations: 0 / 425.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.1461, allocations: 19.98 kB / 425.3 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.1463, allocations: 161.7 kB / 425.5 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.424e-05/0.1464, allocations: 34.52 kB / 425.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.164/0.3104, allocations: 13.73 MB / 439.3 MB, free: 35.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.3105, allocations: 32.8 kB / 439.3 MB, free: 35.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 3.377e-06/0.3105, allocations: 0.7969 kB / 439.3 MB, free: 35.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002281/0.3107, allocations: 158 kB / 439.4 MB, free: 35.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.3108, allocations: 52.2 kB / 439.5 MB, free: 35.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.3108, allocations: 99.06 kB / 439.6 MB, free: 35.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.525e-06/0.3108, allocations: 25.7 kB / 439.6 MB, free: 35.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.614e-05/0.3109, allocations: 80.14 kB / 439.7 MB, free: 35.38 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.3109, allocations: 23.09 kB / 439.7 MB, free: 35.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-06/0.3109, allocations: 1.844 kB / 439.7 MB, free: 35.37 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.567e-05/0.3109, allocations: 321.4 kB / 440 MB, free: 35.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.311, allocations: 9.438 kB / 440 MB, free: 35.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.509e-05/0.311, allocations: 14.23 kB / 440.1 MB, free: 35.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.311, allocations: 14.47 kB / 440.1 MB, free: 35.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.311, allocations: 0 / 440.1 MB, free: 35.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.236e-05/0.3111, allocations: 64.64 kB / 440.1 MB, free: 35.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3111, allocations: 4.719 kB / 440.1 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3111, allocations: 9.859 kB / 440.1 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.3112, allocations: 3.438 kB / 440.1 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.3112, allocations: 2.531 kB / 440.1 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3112, allocations: 0 / 440.1 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.043e-05/0.3112, allocations: 3.562 kB / 440.2 MB, free: 35.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3112, allocations: 2.531 kB / 440.2 MB, free: 35.02 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.3113, allocations: 116.5 kB / 440.3 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.3113, allocations: 2.609 kB / 440.3 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.3114, allocations: 175.7 kB / 440.4 MB, free: 34.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/0.3114, allocations: 177.1 kB / 440.6 MB, free: 34.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.489e-05/0.3115, allocations: 184.3 kB / 440.8 MB, free: 34.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.3115, allocations: 180 kB / 441 MB, free: 34.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.3116, allocations: 416.1 kB / 441.4 MB, free: 33.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.3116, allocations: 105.8 kB / 441.5 MB, free: 33.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.579e-05/0.3117, allocations: 111.7 kB / 441.6 MB, free: 33.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.269e-05/0.3117, allocations: 178 kB / 441.8 MB, free: 33.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.3117, allocations: 182 kB / 441.9 MB, free: 33.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-05/0.3118, allocations: 180.2 kB / 442.1 MB, free: 32.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.376e-05/0.3118, allocations: 180.3 kB / 442.3 MB, free: 32.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.689e-05/0.3119, allocations: 310.7 kB / 442.6 MB, free: 32.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.3119, allocations: 200.9 kB / 442.8 MB, free: 32.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.312, allocations: 184.2 kB / 443 MB, free: 32.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.125e-05/0.312, allocations: 102.8 kB / 443.1 MB, free: 32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.3121, allocations: 180.9 kB / 443.2 MB, free: 31.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.3121, allocations: 106.1 kB / 443.4 MB, free: 31.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.071e-05/0.3121, allocations: 101.3 kB / 443.5 MB, free: 31.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3121, allocations: 0 / 443.5 MB, free: 31.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001722/0.3139, allocations: 0.7434 MB / 444.2 MB, free: 31.61 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003012/0.3169, allocations: 1.896 MB / 446.1 MB, free: 30.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.213e-05/0.317, allocations: 20.73 kB / 446.1 MB, free: 30.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.317, allocations: 0 / 446.1 MB, free: 30.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/0.317, allocations: 4.062 kB / 446.1 MB, free: 30.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002349/0.3172, allocations: 0.5325 MB / 446.6 MB, free: 30.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008611/0.3181, allocations: 0.5494 MB / 447.2 MB, free: 29.78 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.612e-05/0.3182, allocations: 0.6795 MB / 447.9 MB, free: 29.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.439e-05/0.3182, allocations: 0 / 447.9 MB, free: 29.08 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.3182, allocations: 14.25 kB / 447.9 MB, free: 29.07 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3183, allocations: 1.094 kB / 447.9 MB, free: 29.07 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03677/0.355, allocations: 22.58 MB / 470.5 MB, free: 11.9 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001365/0.3552, allocations: 184.8 kB / 470.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/2.685, allocations: 0 / 470.7 MB, free: 11.66 MB / 318.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/linux/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) Environment - environmentSimulation: