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.001388/0.001394, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001385/0.001385, allocations: 193.3 kB / 16.14 MB, free: 6.707 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.402/1.402, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04542/0.04542, allocations: 9.089 MB / 278.4 MB, free: 12.4 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.001335/0.001335, allocations: 64.47 kB / 337.4 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07386/0.07521, allocations: 48.17 MB / 385.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_pd_parameter): time 0.01741/0.09266, allocations: 17.15 MB / 402.8 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005368/0.09807, allocations: 6.002 MB / 408.8 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.09813, allocations: 3.938 kB / 408.8 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.09878, allocations: 236.1 kB / 409 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.941e-05/0.09883, allocations: 15.91 kB / 409 MB, free: 2.082 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008042/0.1069, allocations: 3.483 MB / 412.5 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.074e-05/0.107, allocations: 51.67 kB / 412.5 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.107, allocations: 12 kB / 412.6 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.1071, allocations: 19.86 kB / 412.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.1071, allocations: 11.94 kB / 412.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.502e-06/0.1071, allocations: 0 / 412.6 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00895/0.1161, allocations: 6.307 MB / 418.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.324e-05/0.1162, allocations: 0 / 418.9 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.1162, allocations: 11.94 kB / 418.9 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005286/0.1215, allocations: 2.732 MB / 421.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1215, allocations: 0 / 421.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1215, allocations: 0 / 421.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.848e-06/0.1215, allocations: 0 / 421.6 MB, free: 5.434 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.0008963/0.1224, allocations: 0.6123 MB / 422.2 MB, free: 4.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1225, allocations: 8.031 kB / 422.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.132e-05/0.1225, allocations: 34.5 kB / 422.3 MB, free: 4.723 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.286e-05/0.1226, allocations: 15.84 kB / 422.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.365e-05/0.1227, allocations: 167 kB / 422.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.1227, allocations: 0 / 422.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.1227, allocations: 0 / 422.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.492e-05/0.1228, allocations: 41.64 kB / 422.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.1228, allocations: 0 / 422.5 MB, free: 4.457 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.657e-06/0.1228, allocations: 3.938 kB / 422.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1228, allocations: 7.969 kB / 422.5 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.664e-05/0.1229, allocations: 16 kB / 422.5 MB, free: 4.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.123, allocations: 161.7 kB / 422.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.735e-05/0.1231, allocations: 30.58 kB / 422.7 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.1231, allocations: 24.88 kB / 422.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1599/0.283, allocations: 9.95 MB / 432.7 MB, free: 41.42 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2831, allocations: 36.25 kB / 432.7 MB, free: 41.38 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.2831, allocations: 0 / 432.7 MB, free: 41.38 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001917/0.2833, allocations: 78.16 kB / 432.8 MB, free: 41.35 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.2833, allocations: 51.97 kB / 432.9 MB, free: 41.29 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.2834, allocations: 97.27 kB / 433 MB, free: 41.19 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-06/0.2834, allocations: 25.7 kB / 433 MB, free: 41.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.244e-05/0.2834, allocations: 80.94 kB / 433.1 MB, free: 41.08 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.2834, allocations: 22.39 kB / 433.1 MB, free: 41.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/0.2835, allocations: 18.33 kB / 433.1 MB, free: 41.05 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.99e-05/0.2835, allocations: 314.8 kB / 433.4 MB, free: 40.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.2835, allocations: 16.44 kB / 433.4 MB, free: 40.74 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.663e-05/0.2836, allocations: 17.41 kB / 433.4 MB, free: 40.74 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.889e-05/0.2836, allocations: 37.19 kB / 433.5 MB, free: 40.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2836, allocations: 0 / 433.5 MB, free: 40.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.126e-05/0.2837, allocations: 62.27 kB / 433.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2837, allocations: 8.906 kB / 433.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2837, allocations: 0 / 433.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2837, allocations: 0 / 433.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.423e-06/0.2837, allocations: 2.609 kB / 433.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2838, allocations: 0 / 433.5 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.993e-05/0.2838, allocations: 3.828 kB / 433.6 MB, free: 40.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.2838, allocations: 1.531 kB / 433.6 MB, free: 40.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.647e-05/0.2838, allocations: 116.2 kB / 433.7 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.348e-06/0.2839, allocations: 2.125 kB / 433.7 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.284, allocations: 173.1 kB / 433.8 MB, free: 40.41 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.284, allocations: 178.6 kB / 434 MB, free: 40.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/0.284, allocations: 184.2 kB / 434.2 MB, free: 40.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.15e-05/0.284, allocations: 181.8 kB / 434.4 MB, free: 39.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.2842, allocations: 419.5 kB / 434.8 MB, free: 39.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.2842, allocations: 107 kB / 434.9 MB, free: 39.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.2842, allocations: 102.7 kB / 435 MB, free: 39.21 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.168e-05/0.2843, allocations: 182.6 kB / 435.2 MB, free: 39.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.2843, allocations: 181.1 kB / 435.3 MB, free: 38.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/0.2843, allocations: 185.9 kB / 435.5 MB, free: 38.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.097e-05/0.2843, allocations: 182 kB / 435.7 MB, free: 38.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.396e-05/0.2844, allocations: 309.2 kB / 436 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.2844, allocations: 180.5 kB / 436.2 MB, free: 37.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.2845, allocations: 182.6 kB / 436.4 MB, free: 37.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.2845, allocations: 105.5 kB / 436.5 MB, free: 37.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.2846, allocations: 181.1 kB / 436.6 MB, free: 37.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2846, allocations: 107.3 kB / 436.7 MB, free: 37.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.736e-05/0.2846, allocations: 98.8 kB / 436.8 MB, free: 37.31 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2847, allocations: 1.219 kB / 436.8 MB, free: 37.31 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001562/0.2862, allocations: 0.5972 MB / 437.4 MB, free: 37.3 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 (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.002707/0.2889, allocations: 1.688 MB / 439.1 MB, free: 36.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.393e-05/0.289, allocations: 17.42 kB / 439.1 MB, free: 36.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.289, allocations: 4.062 kB / 439.1 MB, free: 36.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.289, allocations: 3 kB / 439.1 MB, free: 36.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.2895, allocations: 0.5456 MB / 439.7 MB, free: 35.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.2907, allocations: 1.617 MB / 441.3 MB, free: 34.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.1e-05/0.2908, allocations: 0.681 MB / 442 MB, free: 33.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.368e-05/0.2908, allocations: 1.031 kB / 442 MB, free: 33.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.2908, allocations: 14.64 kB / 442 MB, free: 33.77 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2908, allocations: 3.938 kB / 442 MB, free: 33.77 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03692/0.3278, allocations: 20.87 MB / 462.9 MB, free: 19.64 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001241/0.3279, allocations: 201 kB / 463.1 MB, free: 19.39 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/2.8, allocations: 4 kB / 463.1 MB, free: 19.39 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/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)