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.0009334/0.0009334, allocations: 98.92 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.00105/0.00105, allocations: 177.3 kB / 15.94 MB, free: 228 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.298/1.298, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04221/0.04221, allocations: 9.064 MB / 279.4 MB, free: 12.14 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.0004959/0.0004959, allocations: 20 kB / 339.2 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08233/0.08284, allocations: 49.18 MB / 388.4 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01499/0.09788, allocations: 14.13 MB / 402.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004979/0.1029, allocations: 5.135 MB / 407.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.103, allocations: 0 / 407.6 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006341/0.1036, allocations: 231.3 kB / 407.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.483e-05/0.1037, allocations: 23.95 kB / 407.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008666/0.1123, allocations: 3.404 MB / 411.3 MB, free: 1.691 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.1124, allocations: 35.94 kB / 411.3 MB, free: 1.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.689e-05/0.1125, allocations: 8.266 kB / 411.3 MB, free: 1.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.1126, allocations: 27.92 kB / 411.4 MB, free: 1.621 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.213e-05/0.1126, allocations: 7.938 kB / 411.4 MB, free: 1.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-06/0.1126, allocations: 0 / 411.4 MB, free: 1.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.1232, allocations: 6.389 MB / 417.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.1233, allocations: 0 / 417.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.1233, allocations: 37.58 kB / 417.8 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.126, allocations: 1.474 MB / 419.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1261, allocations: 0 / 419.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1261, allocations: 0 / 419.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1261, allocations: 0 / 419.3 MB, free: 9.695 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.0009047/0.127, allocations: 0.6045 MB / 419.9 MB, free: 9.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.127, allocations: 8.031 kB / 419.9 MB, free: 9.035 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.1271, allocations: 34.56 kB / 419.9 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.1271, allocations: 11.91 kB / 419.9 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.1272, allocations: 167.1 kB / 420.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1272, allocations: 0 / 420.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.1272, allocations: 0 / 420.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.23e-05/0.1273, allocations: 37.7 kB / 420.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-06/0.1274, allocations: 0 / 420.1 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.1274, allocations: 3.953 kB / 420.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1274, allocations: 0 / 420.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.572e-05/0.1274, allocations: 19.92 kB / 420.2 MB, free: 8.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.1276, allocations: 165.7 kB / 420.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.046e-05/0.1277, allocations: 30.61 kB / 420.3 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.17/0.2977, allocations: 9.77 MB / 430.1 MB, free: 43.25 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.2978, allocations: 33.03 kB / 430.1 MB, free: 43.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.355e-06/0.2978, allocations: 0 / 430.1 MB, free: 43.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002157/0.298, allocations: 159 kB / 430.3 MB, free: 43.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.298, allocations: 51.94 kB / 430.4 MB, free: 43.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.719e-05/0.2981, allocations: 99.5 kB / 430.4 MB, free: 42.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.2981, allocations: 26.27 kB / 430.5 MB, free: 42.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.504e-05/0.2981, allocations: 81.86 kB / 430.6 MB, free: 42.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.2982, allocations: 22.02 kB / 430.6 MB, free: 42.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.104e-06/0.2982, allocations: 1.969 kB / 430.6 MB, free: 42.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.2982, allocations: 317.9 kB / 430.9 MB, free: 42.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.2983, allocations: 13.3 kB / 430.9 MB, free: 42.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.702e-05/0.2983, allocations: 12.42 kB / 430.9 MB, free: 42.49 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.563e-05/0.2983, allocations: 13.62 kB / 430.9 MB, free: 42.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2983, allocations: 0 / 430.9 MB, free: 42.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.206e-05/0.2984, allocations: 62.23 kB / 431 MB, free: 42.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.2984, allocations: 8.547 kB / 431 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2984, allocations: 1.688 kB / 431 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2984, allocations: 7.75 kB / 431 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.2985, allocations: 0 / 431 MB, free: 42.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2985, allocations: 4.5 kB / 431 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.2985, allocations: 9.828 kB / 431 MB, free: 42.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.2985, allocations: 3.828 kB / 431 MB, free: 42.45 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.732e-05/0.2986, allocations: 111.8 kB / 431.1 MB, free: 42.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-06/0.2986, allocations: 2.406 kB / 431.1 MB, free: 42.34 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.2987, allocations: 172.1 kB / 431.3 MB, free: 42.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.2987, allocations: 188.1 kB / 431.5 MB, free: 41.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/0.2987, allocations: 177.9 kB / 431.7 MB, free: 41.8 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/0.2988, allocations: 182.6 kB / 431.8 MB, free: 41.62 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.2989, allocations: 412.4 kB / 432.2 MB, free: 41.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.2989, allocations: 103.2 kB / 432.3 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.685e-05/0.299, allocations: 109.5 kB / 432.4 MB, free: 40.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.527e-05/0.299, allocations: 181.7 kB / 432.6 MB, free: 40.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.299, allocations: 183.4 kB / 432.8 MB, free: 40.61 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.719e-05/0.2991, allocations: 177.8 kB / 433 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.792e-05/0.2991, allocations: 189.8 kB / 433.2 MB, free: 40.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.523e-05/0.2992, allocations: 308.8 kB / 433.5 MB, free: 39.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.2992, allocations: 190.3 kB / 433.7 MB, free: 39.73 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.233e-05/0.2993, allocations: 186.2 kB / 433.8 MB, free: 39.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.308e-05/0.2994, allocations: 108.5 kB / 433.9 MB, free: 39.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.2994, allocations: 180.4 kB / 434.1 MB, free: 39.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.2994, allocations: 102.6 kB / 434.2 MB, free: 39.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.673e-05/0.2995, allocations: 100.4 kB / 434.3 MB, free: 39.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2995, allocations: 3.938 kB / 434.3 MB, free: 39.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001706/0.3012, allocations: 0.5967 MB / 434.9 MB, free: 39.05 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.002743/0.3039, allocations: 1.671 MB / 436.6 MB, free: 38.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3041, allocations: 23.81 kB / 436.6 MB, free: 38.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3041, allocations: 1.156 kB / 436.6 MB, free: 38.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-06/0.3041, allocations: 0.6875 kB / 436.6 MB, free: 38.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.3043, allocations: 0.5282 MB / 437.1 MB, free: 37.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008897/0.3052, allocations: 494.9 kB / 437.6 MB, free: 37.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.3054, allocations: 0.6792 MB / 438.3 MB, free: 36.6 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.709e-05/0.3054, allocations: 4.609 kB / 438.3 MB, free: 36.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.3054, allocations: 10.86 kB / 438.3 MB, free: 36.59 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3054, allocations: 7.281 kB / 438.3 MB, free: 36.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03887/0.3443, allocations: 20.33 MB / 458.7 MB, free: 24.08 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001154/0.3444, allocations: 188.3 kB / 458.8 MB, free: 23.84 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.247/2.591, allocations: 3.938 kB / 458.8 MB, free: 23.84 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: