Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.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.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.BaseProps_sweep,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep",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.001517/0.001517, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001818/0.001818, allocations: 193.1 kB / 16.13 MB, free: 6.66 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.307/1.307, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0416/0.0416, allocations: 9.09 MB / 278.4 MB, free: 12.39 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.001654/0.001654, allocations: 63.89 kB / 337.4 MB, free: 25.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08096/0.08263, allocations: 48.16 MB / 385.6 MB, free: 9.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01835/0.101, allocations: 18.13 MB / 403.7 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1636/0.2646, allocations: 32.69 MB / 436.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2648, allocations: 2.062 kB / 436.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008331/0.2656, allocations: 370.9 kB / 436.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.266, allocations: 122.1 kB / 436.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02541/0.2914, allocations: 8.134 MB / 445 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.292, allocations: 416.1 kB / 445.4 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.478e-05/0.2921, allocations: 23.27 kB / 445.5 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003034/0.2924, allocations: 150.8 kB / 445.6 MB, free: 9.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.2926, allocations: 121.2 kB / 445.7 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.2926, allocations: 6.812 kB / 445.7 MB, free: 9.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01817/0.3108, allocations: 10.52 MB / 456.3 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-05/0.3109, allocations: 38.39 kB / 456.3 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001911/0.3111, allocations: 101.3 kB / 456.4 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.3228, allocations: 4.609 MB / 461 MB, free: 4.883 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3228, allocations: 0 / 461 MB, free: 4.883 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3228, allocations: 0 / 461 MB, free: 4.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.3228, allocations: 0 / 461 MB, free: 4.883 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.002128/0.325, allocations: 1.138 MB / 462.1 MB, free: 4.023 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.325, allocations: 11.31 kB / 462.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.325, allocations: 46.67 kB / 462.2 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002377/0.3253, allocations: 33.39 kB / 462.2 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.3255, allocations: 223.5 kB / 462.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.3255, allocations: 8.188 kB / 462.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3255, allocations: 5.688 kB / 462.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.326, allocations: 266.9 kB / 462.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3261, allocations: 0 / 462.7 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.3261, allocations: 6.875 kB / 462.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3261, allocations: 8.719 kB / 462.7 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/0.3266, allocations: 234.5 kB / 463 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007214/0.3274, allocations: 1.073 MB / 464 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004175/0.3278, allocations: 237.5 kB / 464.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.3281, allocations: 155.4 kB / 464.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07974/0.4078, allocations: 46.26 MB / 0.4987 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.4079, allocations: 38.55 kB / 0.4988 GB, free: 11.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.264e-06/0.4079, allocations: 0 / 0.4988 GB, free: 11.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001447/0.4093, allocations: 472.2 kB / 0.4992 GB, free: 11.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.4094, allocations: 132.9 kB / 0.4993 GB, free: 11.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4096, allocations: 179.9 kB / 0.4995 GB, free: 10.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.4096, allocations: 29.7 kB / 0.4995 GB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.4097, allocations: 124.4 kB / 0.4997 GB, free: 10.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.4098, allocations: 86.17 kB / 0.4997 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.4098, allocations: 45.69 kB / 0.4998 GB, free: 10.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.4099, allocations: 334.8 kB / 0.5001 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.4102, allocations: 107.9 kB / 0.5002 GB, free: 10.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.4105, allocations: 169.9 kB / 0.5004 GB, free: 9.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.411, allocations: 282.6 kB / 0.5006 GB, free: 9.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.411, allocations: 1.75 kB / 0.5006 GB, free: 9.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006332/0.4117, allocations: 322 kB / 0.5009 GB, free: 9.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.4117, allocations: 8 kB / 0.5009 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4117, allocations: 0 / 0.5009 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4117, allocations: 4 kB / 0.501 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.412, allocations: 47.89 kB / 0.501 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.412, allocations: 0.8594 kB / 0.501 GB, free: 9.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.4122, allocations: 39.94 kB / 0.501 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.4122, allocations: 8 kB / 0.501 GB, free: 9.184 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (medium.sat.vap.phase,medium.sat.liq.phase,medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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 0.0001301/0.4124, allocations: 137.7 kB / 0.5012 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.736e-05/0.4125, allocations: 23.72 kB / 0.5012 GB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005912/0.4131, allocations: 366.9 kB / 0.5015 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4131, allocations: 4 kB / 0.5016 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4131, allocations: 4 kB / 0.5016 GB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4131, allocations: 9.656 kB / 0.5016 GB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.4136, allocations: 318.7 kB / 0.5019 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.4136, allocations: 3.938 kB / 0.5019 GB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.4138, allocations: 47.89 kB / 0.5019 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4138, allocations: 0 / 0.5019 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.4138, allocations: 4 kB / 0.5019 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4139, allocations: 0 / 0.5019 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4139, allocations: 4 kB / 0.5019 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.4146, allocations: 0.64 MB / 0.5025 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.4147, allocations: 92.86 kB / 0.5026 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.4147, allocations: 8 kB / 0.5026 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.415, allocations: 31.06 kB / 0.5027 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.4151, allocations: 23.91 kB / 0.5027 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.4151, allocations: 4 kB / 0.5027 GB, free: 7.402 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.688e-05/0.4152, allocations: 132 kB / 0.5028 GB, free: 7.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4152, allocations: 0 / 0.5028 GB, free: 7.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0024/0.4176, allocations: 0.7964 MB / 0.5036 GB, free: 6.477 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,medium.state.phase,medium.sat.liq.phase,medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00475/0.4224, allocations: 2.264 MB / 0.5058 GB, free: 4.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006647/0.4231, allocations: 284 kB / 0.5061 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4231, allocations: 0 / 0.5061 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.4234, allocations: 159.8 kB / 0.5062 GB, free: 3.863 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.4243, allocations: 100.5 kB / 0.5063 GB, free: 3.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/0.4288, allocations: 3.1 MB / 0.5094 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.4291, allocations: 0.7402 MB / 0.5101 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.4293, allocations: 52.48 kB / 0.5101 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.4294, allocations: 63.41 kB / 0.5102 GB, free: 15.66 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4294, allocations: 0 / 0.5102 GB, free: 15.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.659/1.088, allocations: 26.59 MB / 0.5362 GB, free: 5.059 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/1.089, allocations: 192.7 kB / 0.5363 GB, free: 4.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.622/3.711, allocations: 0 / 0.5363 GB, free: 4.797 MB / 414.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-05 HelmholtzMedia_HelmholtzMedia_Examples_BaseProps_sweep.fmu > HelmholtzMedia_HelmholtzMedia.Examples.BaseProps_sweep.pipe 2>&1)