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.000748/0.000748, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008427/0.0008431, allocations: 168.7 kB / 15.95 MB, free: 204 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.273/1.273, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04118/0.04118, allocations: 9.062 MB / 279.5 MB, free: 12.24 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.0005005/0.0005006, allocations: 16 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07894/0.07946, allocations: 49.19 MB / 388.4 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01713/0.09663, allocations: 15.62 MB / 404 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00564/0.1023, allocations: 5.465 MB / 409.5 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.061e-05/0.1024, allocations: 0 / 409.5 MB, free: 3.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006116/0.103, allocations: 239 kB / 409.7 MB, free: 3.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.214e-05/0.103, allocations: 11.91 kB / 409.8 MB, free: 3.238 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009108/0.1122, allocations: 3.346 MB / 413.1 MB, free: 15.89 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.1123, allocations: 59.52 kB / 413.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.839e-05/0.1123, allocations: 4.281 kB / 413.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.894e-05/0.1124, allocations: 19.88 kB / 413.2 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.1125, allocations: 15.92 kB / 413.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.1125, allocations: 4 kB / 413.2 MB, free: 15.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01095/0.1235, allocations: 5.698 MB / 418.9 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.1235, allocations: 0 / 418.9 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.1236, allocations: 33.64 kB / 418.9 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003511/0.1271, allocations: 1.528 MB / 420.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1271, allocations: 0 / 420.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1271, allocations: 0 / 420.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1272, allocations: 4 kB / 420.5 MB, free: 8.504 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.00137/0.1285, allocations: 0.6123 MB / 421.1 MB, free: 7.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1286, allocations: 8.031 kB / 421.1 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.1286, allocations: 42.48 kB / 421.1 MB, free: 7.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.1287, allocations: 7.906 kB / 421.1 MB, free: 7.777 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1288, allocations: 163 kB / 421.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.1288, allocations: 0 / 421.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-06/0.1288, allocations: 0 / 421.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1289, allocations: 41.7 kB / 421.3 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1289, allocations: 3.984 kB / 421.3 MB, free: 7.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.129, allocations: 3.953 kB / 421.3 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.129, allocations: 0 / 421.3 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.129, allocations: 12 kB / 421.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001697/0.1292, allocations: 165.6 kB / 421.5 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.1292, allocations: 26.58 kB / 421.5 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.1293, allocations: 24.88 kB / 421.6 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1623/0.2916, allocations: 9.752 MB / 431.3 MB, free: 42.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.2917, allocations: 33.27 kB / 431.4 MB, free: 42.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.2917, allocations: 3.188 kB / 431.4 MB, free: 42.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001919/0.2919, allocations: 78.2 kB / 431.4 MB, free: 42.58 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.945e-05/0.2919, allocations: 55.89 kB / 431.5 MB, free: 42.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.709e-05/0.2919, allocations: 96.78 kB / 431.6 MB, free: 42.42 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.302e-06/0.292, allocations: 33.52 kB / 431.6 MB, free: 42.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.292e-05/0.292, allocations: 81.14 kB / 431.7 MB, free: 42.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.292, allocations: 21.69 kB / 431.7 MB, free: 42.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.292, allocations: 0.5625 kB / 431.7 MB, free: 42.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.2921, allocations: 317.3 kB / 432 MB, free: 41.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.964e-05/0.2921, allocations: 11.2 kB / 432 MB, free: 41.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-05/0.2921, allocations: 11.84 kB / 432 MB, free: 41.98 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.2921, allocations: 13.72 kB / 432.1 MB, free: 41.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2921, allocations: 0 / 432.1 MB, free: 41.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.841e-05/0.2922, allocations: 60.55 kB / 432.1 MB, free: 41.95 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.2922, allocations: 6.453 kB / 432.1 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2923, allocations: 0 / 432.1 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.2923, allocations: 1.344 kB / 432.1 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.2923, allocations: 5.938 kB / 432.1 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2923, allocations: 0 / 432.1 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.2923, allocations: 8.844 kB / 432.1 MB, free: 41.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.2923, allocations: 4.188 kB / 432.1 MB, free: 41.95 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 5.185e-05/0.2924, allocations: 109 kB / 432.3 MB, free: 41.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-06/0.2924, allocations: 3.266 kB / 432.3 MB, free: 41.84 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.748e-05/0.2925, allocations: 172.4 kB / 432.4 MB, free: 41.67 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.313e-05/0.2925, allocations: 184.7 kB / 432.6 MB, free: 41.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.2926, allocations: 179.5 kB / 432.8 MB, free: 41.31 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.463e-05/0.2926, allocations: 190.4 kB / 433 MB, free: 41.13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.2927, allocations: 413.6 kB / 433.4 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.2927, allocations: 101.7 kB / 433.5 MB, free: 40.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.411e-05/0.2928, allocations: 114.1 kB / 433.6 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.226e-05/0.2928, allocations: 178.9 kB / 433.8 MB, free: 40.3 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.2928, allocations: 179.6 kB / 433.9 MB, free: 40.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.869e-05/0.2928, allocations: 179.5 kB / 434.1 MB, free: 39.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.439e-05/0.2929, allocations: 185.3 kB / 434.3 MB, free: 39.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.985e-05/0.2929, allocations: 314 kB / 434.6 MB, free: 39.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.293, allocations: 186.7 kB / 434.8 MB, free: 39.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.293, allocations: 186 kB / 435 MB, free: 39.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.077e-05/0.2931, allocations: 109.6 kB / 435.1 MB, free: 38.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.2931, allocations: 179.7 kB / 435.2 MB, free: 38.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.2931, allocations: 105.6 kB / 435.3 MB, free: 38.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.685e-05/0.2932, allocations: 101.8 kB / 435.4 MB, free: 38.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2932, allocations: 0 / 435.4 MB, free: 38.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001408/0.2946, allocations: 0.5987 MB / 436 MB, free: 38.57 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.002264/0.2969, allocations: 1.675 MB / 437.7 MB, free: 37.66 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.102e-05/0.297, allocations: 17.5 kB / 437.7 MB, free: 37.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.297, allocations: 0 / 437.7 MB, free: 37.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.297, allocations: 1.906 kB / 437.7 MB, free: 37.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.2973, allocations: 0.5323 MB / 438.3 MB, free: 37.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007112/0.298, allocations: 491.4 kB / 438.7 MB, free: 36.81 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.068e-05/0.2981, allocations: 0.6772 MB / 439.4 MB, free: 36.12 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.231e-05/0.2981, allocations: 0 / 439.4 MB, free: 36.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.2982, allocations: 14.8 kB / 439.4 MB, free: 36.11 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2982, allocations: 0.9844 kB / 439.4 MB, free: 36.11 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03794/0.3361, allocations: 20.35 MB / 459.8 MB, free: 23.29 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.3363, allocations: 190.4 kB / 460 MB, free: 23.04 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.623, allocations: 7.875 kB / 460 MB, free: 23.04 MB / 318.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/linux/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) Environment - environmentSimulation: