Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_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_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_ps_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_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.0008502/0.0008502, allocations: 84.38 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.0008069/0.0008069, 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.253/1.253, 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.04221/0.04221, allocations: 9.066 MB / 279.5 MB, free: 12.25 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.0005072/0.0005073, allocations: 20 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08189/0.0824, allocations: 49.17 MB / 388.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ps_parameter): time 0.01532/0.09776, allocations: 15.62 MB / 404 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00903/0.1068, allocations: 9.845 MB / 413.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.1069, allocations: 0 / 413.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005281/0.1074, allocations: 227 kB / 414.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.751e-05/0.1075, allocations: 15.91 kB / 414.1 MB, free: 14.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01074/0.1182, allocations: 4.532 MB / 418.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.607e-05/0.1183, allocations: 47.73 kB / 418.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.1184, allocations: 288 / 418.7 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/0.1185, allocations: 31.8 kB / 418.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.1186, allocations: 15.92 kB / 418.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.1186, allocations: 0 / 418.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/0.131, allocations: 7.148 MB / 425.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.876e-06/0.131, allocations: 0 / 425.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.1311, allocations: 29.7 kB / 425.9 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003308/0.1344, allocations: 2.078 MB / 428 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1344, allocations: 0 / 428 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1344, allocations: 0 / 428 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1344, allocations: 4 kB / 428 MB, free: 0.9688 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.001372/0.1358, allocations: 0.7449 MB / 428.7 MB, free: 180 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1359, allocations: 8.031 kB / 428.7 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/0.1359, allocations: 34.56 kB / 428.8 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.217e-05/0.1359, allocations: 3.906 kB / 428.8 MB, free: 124 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1588/0.2947, allocations: 169.4 kB / 428.9 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2948, allocations: 0 / 428.9 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.2948, allocations: 3.109 kB / 429 MB, free: 45.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.2949, allocations: 39.91 kB / 429 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.2949, allocations: 0.9375 kB / 429 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.2949, allocations: 2.797 kB / 429 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.295, allocations: 1.828 kB / 429 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.833e-05/0.295, allocations: 15.47 kB / 429 MB, free: 45.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.2951, allocations: 160.5 kB / 429.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.507e-05/0.2952, allocations: 32.12 kB / 429.2 MB, free: 45.49 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.682e-05/0.2952, allocations: 21.56 kB / 429.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04243/0.3376, allocations: 32.39 MB / 461.6 MB, free: 14.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3377, allocations: 38.88 kB / 461.6 MB, free: 14.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.434e-06/0.3377, allocations: 3.5 kB / 461.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001866/0.3379, allocations: 72.05 kB / 461.7 MB, free: 14.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.338, allocations: 52.56 kB / 461.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.338, allocations: 100.4 kB / 461.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.338, allocations: 25.7 kB / 461.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.436e-05/0.338, allocations: 81.52 kB / 462 MB, free: 14.47 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.3381, allocations: 18.53 kB / 462 MB, free: 14.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.3381, allocations: 0 / 462 MB, free: 14.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.365e-05/0.3381, allocations: 316 kB / 462.3 MB, free: 14.14 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.3382, allocations: 15.23 kB / 462.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.454e-05/0.3382, allocations: 10.41 kB / 462.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.3382, allocations: 18.12 kB / 462.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3382, allocations: 0 / 462.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.14e-05/0.3383, allocations: 69.05 kB / 462.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3383, allocations: 7.625 kB / 462.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3383, allocations: 3.984 kB / 462.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3384, allocations: 0 / 462.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.3384, allocations: 1.25 kB / 462.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3384, allocations: 2.438 kB / 462.4 MB, free: 14.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.3384, allocations: 9.188 kB / 462.4 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.3384, allocations: 0 / 462.4 MB, free: 14.06 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.837e-05/0.3385, allocations: 112.1 kB / 462.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.3385, allocations: 1.406 kB / 462.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.3386, allocations: 184.8 kB / 462.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/0.3386, allocations: 180.5 kB / 462.9 MB, free: 13.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.53e-05/0.3387, allocations: 177.5 kB / 463.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.3387, allocations: 184.4 kB / 463.3 MB, free: 13.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001341/0.3388, allocations: 410.4 kB / 463.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.3388, allocations: 108.9 kB / 463.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.373e-05/0.3389, allocations: 102.6 kB / 463.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.5e-05/0.3389, allocations: 177.9 kB / 464 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.3389, allocations: 185.9 kB / 464.2 MB, free: 12.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.608e-05/0.339, allocations: 184.6 kB / 464.4 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-05/0.339, allocations: 181.7 kB / 464.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.976e-05/0.3391, allocations: 313.5 kB / 464.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.3391, allocations: 199.3 kB / 465.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.3392, allocations: 178.6 kB / 465.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.3392, allocations: 109.8 kB / 465.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.3393, allocations: 185.4 kB / 465.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.3393, allocations: 104.9 kB / 465.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.476e-05/0.3393, allocations: 100.9 kB / 465.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3393, allocations: 0 / 465.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001905/0.3412, allocations: 0.8542 MB / 466.6 MB, free: 10.52 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.003682/0.3449, allocations: 2.053 MB / 468.7 MB, free: 9.355 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.148e-05/0.345, allocations: 25.61 kB / 468.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.345, allocations: 0 / 468.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.3451, allocations: 0 / 468.7 MB, free: 9.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.3454, allocations: 0.5274 MB / 469.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.3465, allocations: 0.6 MB / 469.8 MB, free: 8.367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.955e-05/0.3466, allocations: 0.6775 MB / 470.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.331e-05/0.3466, allocations: 0 / 470.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.3467, allocations: 15.66 kB / 470.5 MB, free: 7.656 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.3467, allocations: 0 / 470.5 MB, free: 7.656 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.3868, allocations: 24.3 MB / 494.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/0.3871, allocations: 190.4 kB / 495 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/2.845, allocations: 4 kB / 495 MB, free: 0.8672 MB / 334.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_ps_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ps_parameter.pipe 2>&1) Environment - environmentSimulation: