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.0007967/0.0007968, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009377/0.0009377, allocations: 172.7 kB / 15.95 MB, free: 208 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.29/1.29, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04109/0.04109, 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.0004592/0.0004592, allocations: 12 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07449/0.07496, allocations: 49.18 MB / 388.4 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.01609/0.09111, allocations: 16.53 MB / 404.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1901/0.2812, allocations: 30.08 MB / 435 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.2815, allocations: 5.688 kB / 435 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000836/0.2823, allocations: 349.3 kB / 435.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.2827, allocations: 119.7 kB / 435.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01858/0.3013, allocations: 7.621 MB / 443.1 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.3018, allocations: 374 kB / 443.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.626e-05/0.3018, allocations: 19.2 kB / 443.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.3021, allocations: 156.4 kB / 443.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.3023, allocations: 114.4 kB / 443.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.3023, allocations: 7.812 kB / 443.8 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0174/0.3197, allocations: 9.347 MB / 453.1 MB, free: 9.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.3198, allocations: 32.5 kB / 453.1 MB, free: 9.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.3199, allocations: 67.55 kB / 453.2 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005927/0.3259, allocations: 2.869 MB / 456.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3259, allocations: 0 / 456.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3259, allocations: 0 / 456.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.3259, allocations: 4 kB / 456.1 MB, free: 8.656 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.002739/0.3287, allocations: 1.13 MB / 457.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/0.3288, allocations: 10.12 kB / 457.2 MB, free: 7.852 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.419e-05/0.3289, allocations: 48.33 kB / 457.3 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.3291, allocations: 36.5 kB / 457.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3293, allocations: 222 kB / 457.5 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.3294, allocations: 9.969 kB / 457.5 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.3294, allocations: 10.25 kB / 457.5 MB, free: 7.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005549/0.33, allocations: 270 kB / 457.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.33, allocations: 3.938 kB / 457.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.33, allocations: 9.609 kB / 457.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.33, allocations: 7.328 kB / 457.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.3306, allocations: 260.2 kB / 458.1 MB, free: 7.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.3313, allocations: 1.076 MB / 459.2 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.3318, allocations: 258.8 kB / 459.4 MB, free: 6.254 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.3321, allocations: 170.5 kB / 459.6 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07094/0.403, allocations: 45.2 MB / 0.4929 GB, free: 3.988 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.4031, allocations: 39.72 kB / 0.493 GB, free: 3.945 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 3.366e-06/0.4031, allocations: 0 / 0.493 GB, free: 3.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.001542/0.4047, allocations: 0.4993 MB / 0.4935 GB, free: 3.543 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.4048, allocations: 135 kB / 0.4936 GB, free: 3.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.405, allocations: 179.4 kB / 0.4938 GB, free: 3.219 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.405, allocations: 33.25 kB / 0.4938 GB, free: 3.184 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.4051, allocations: 121.4 kB / 0.4939 GB, free: 3.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.503e-05/0.4052, allocations: 84.41 kB / 0.494 GB, free: 3.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.4052, allocations: 7.75 kB / 0.494 GB, free: 3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.4054, allocations: 329.9 kB / 0.4943 GB, free: 2.676 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002591/0.4056, allocations: 121.2 kB / 0.4944 GB, free: 2.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.406, allocations: 177.7 kB / 0.4946 GB, free: 2.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.4063, allocations: 143.8 kB / 0.4947 GB, free: 2.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4063, allocations: 0 / 0.4947 GB, free: 2.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000827/0.4071, allocations: 341.3 kB / 0.4951 GB, free: 2.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.4071, allocations: 10.64 kB / 0.4951 GB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4071, allocations: 4 kB / 0.4951 GB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4072, allocations: 4 kB / 0.4951 GB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.4074, allocations: 47.91 kB / 0.4951 GB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4074, allocations: 12.08 kB / 0.4951 GB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.4077, allocations: 39.56 kB / 0.4952 GB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.4077, allocations: 13.55 kB / 0.4952 GB, free: 1.938 MB / 366.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.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 initialization (16): * Single equations (assignments): 15 * 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 0.0001544/0.4078, allocations: 138.9 kB / 0.4953 GB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.586e-05/0.4079, allocations: 23.81 kB / 0.4954 GB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000601/0.4086, allocations: 369.2 kB / 0.4957 GB, free: 1.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/0.4086, allocations: 12.89 kB / 0.4957 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.4086, allocations: 1.969 kB / 0.4957 GB, free: 1.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4086, allocations: 3.953 kB / 0.4957 GB, free: 1.516 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.4091, allocations: 324 kB / 0.496 GB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4091, allocations: 0 / 0.496 GB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.4094, allocations: 55.89 kB / 0.4961 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4094, allocations: 0 / 0.4961 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.4094, allocations: 4 kB / 0.4961 GB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.4094, allocations: 7.938 kB / 0.4961 GB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4094, allocations: 0 / 0.4961 GB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.4102, allocations: 0.6701 MB / 0.4967 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.342e-05/0.4103, allocations: 99.39 kB / 0.4968 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.39e-05/0.4103, allocations: 4 kB / 0.4968 GB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.4106, allocations: 35.53 kB / 0.4969 GB, free: 408 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.787e-05/0.4107, allocations: 19.92 kB / 0.4969 GB, free: 388 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.4107, allocations: 10.55 kB / 0.4969 GB, free: 380 kB / 366.1 MB Notification: Performance of sorting global known variables: time 8.524e-05/0.4108, allocations: 124.8 kB / 0.497 GB, free: 272 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4108, allocations: 0 / 0.497 GB, free: 272 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.002571/0.4134, allocations: 0.8019 MB / 0.4978 GB, free: 15.49 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 (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.004911/0.4183, allocations: 2.269 MB / 0.5 GB, free: 13.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000665/0.419, allocations: 307.6 kB / 0.5003 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.419, allocations: 4.062 kB / 0.5003 GB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.4193, allocations: 177.7 kB / 0.5005 GB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008108/0.4201, allocations: 95.61 kB / 0.5006 GB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004343/0.4245, allocations: 1.784 MB / 0.5023 GB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.4249, allocations: 0.7363 MB / 0.503 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.4251, allocations: 48.5 kB / 0.5031 GB, free: 10.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.4252, allocations: 71.64 kB / 0.5032 GB, free: 10.54 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4252, allocations: 0 / 0.5032 GB, free: 10.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04836/0.4736, allocations: 26.37 MB / 0.5289 GB, free: 240 kB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.4739, allocations: 175 kB / 0.5291 GB, free: 15.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.158, allocations: 1.422 kB / 0.5291 GB, free: 15.99 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/linux/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) Environment - environmentSimulation: