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.0009769/0.0009771, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.008311/0.008311, allocations: 172.7 kB / 16.27 MB, free: 6.656 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.798/1.798, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04985/0.04985, allocations: 9.08 MB / 279.8 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.000533/0.0005332, allocations: 16.42 kB / 339.8 MB, free: 25.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 49.19 MB / 389 MB, free: 8.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02088/0.1428, allocations: 17.61 MB / 406.6 MB, free: 6.609 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2793/0.4222, allocations: 32.32 MB / 439 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003382/0.4226, allocations: 5.5 kB / 439 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.424, allocations: 376.1 kB / 439.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004803/0.4245, allocations: 121.3 kB / 439.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02729/0.4518, allocations: 8.145 MB / 447.6 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007228/0.4525, allocations: 410 kB / 448 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.346e-05/0.4526, allocations: 22.62 kB / 448 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.453, allocations: 155 kB / 448.2 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.4532, allocations: 115.1 kB / 448.3 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.4532, allocations: 8 kB / 448.3 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01976/0.473, allocations: 10.53 MB / 458.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.94e-05/0.4731, allocations: 31 kB / 458.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002295/0.4734, allocations: 134.3 kB / 459 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01233/0.4857, allocations: 4.59 MB / 463.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.4857, allocations: 0 / 463.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4858, allocations: 0 / 463.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.4858, allocations: 0 / 463.6 MB, free: 5.188 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.003608/0.4894, allocations: 1.123 MB / 464.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.4895, allocations: 10.06 kB / 464.7 MB, free: 4.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.739e-05/0.4896, allocations: 48.92 kB / 464.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.4899, allocations: 38.42 kB / 464.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.4901, allocations: 221.3 kB / 465 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.4902, allocations: 11.56 kB / 465 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.4902, allocations: 6.594 kB / 465 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.4909, allocations: 273 kB / 465.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4909, allocations: 0 / 465.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.4909, allocations: 7.25 kB / 465.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.491, allocations: 3.469 kB / 465.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/0.4916, allocations: 266.5 kB / 465.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.4927, allocations: 1.081 MB / 466.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.4932, allocations: 253.3 kB / 466.9 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.4935, allocations: 173.7 kB / 467.1 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08558/0.5791, allocations: 45.2 MB / 0.5002 GB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.5792, allocations: 42.56 kB / 0.5003 GB, free: 13.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.185e-06/0.5793, allocations: 0 / 0.5003 GB, free: 13.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00175/0.581, allocations: 0.5009 MB / 0.5008 GB, free: 12.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001657/0.5812, allocations: 132.5 kB / 0.5009 GB, free: 12.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.5815, allocations: 180 kB / 0.5011 GB, free: 12.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.5815, allocations: 33.36 kB / 0.5011 GB, free: 12.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.5817, allocations: 120.4 kB / 0.5012 GB, free: 12.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.175e-05/0.5818, allocations: 91.94 kB / 0.5013 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.5819, allocations: 25.7 kB / 0.5013 GB, free: 12.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001971/0.5821, allocations: 330.8 kB / 0.5016 GB, free: 11.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003679/0.5824, allocations: 127.9 kB / 0.5018 GB, free: 11.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.5828, allocations: 177.9 kB / 0.5019 GB, free: 11.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006355/0.5834, allocations: 310.6 kB / 0.5022 GB, free: 11.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5834, allocations: 4 kB / 0.5022 GB, free: 11.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008386/0.5843, allocations: 346 kB / 0.5026 GB, free: 10.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5843, allocations: 8 kB / 0.5026 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.5843, allocations: 0 / 0.5026 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.5844, allocations: 4 kB / 0.5026 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.5846, allocations: 58.56 kB / 0.5026 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.5846, allocations: 4 kB / 0.5026 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.5849, allocations: 55.66 kB / 0.5027 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.5849, allocations: 4 kB / 0.5027 GB, free: 10.73 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.0002093/0.5851, allocations: 137.7 kB / 0.5028 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5852, allocations: 15.81 kB / 0.5028 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007583/0.586, allocations: 385.8 kB / 0.5032 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.586, allocations: 0 / 0.5032 GB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-06/0.586, allocations: 8 kB / 0.5032 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.5861, allocations: 7.922 kB / 0.5032 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.5866, allocations: 322.2 kB / 0.5035 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5866, allocations: 0 / 0.5035 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.5869, allocations: 50.31 kB / 0.5036 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5869, allocations: 4 kB / 0.5036 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.5869, allocations: 0 / 0.5036 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.5869, allocations: 8 kB / 0.5036 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5869, allocations: 0 / 0.5036 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009665/0.5879, allocations: 0.6712 MB / 0.5043 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.588, allocations: 106.7 kB / 0.5044 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.588, allocations: 0 / 0.5044 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.5884, allocations: 27.97 kB / 0.5044 GB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.574e-05/0.5885, allocations: 31.84 kB / 0.5044 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.5885, allocations: 4 kB / 0.5044 GB, free: 8.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001083/0.5886, allocations: 132.1 kB / 0.5045 GB, free: 8.758 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5886, allocations: 192 / 0.5045 GB, free: 8.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003028/0.5916, allocations: 0.7924 MB / 0.5053 GB, free: 7.965 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.005818/0.5975, allocations: 2.283 MB / 0.5075 GB, free: 5.758 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008045/0.5983, allocations: 311.9 kB / 0.5078 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5983, allocations: 0 / 0.5078 GB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.5987, allocations: 180 kB / 0.508 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.5997, allocations: 96.28 kB / 0.5081 GB, free: 5.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/0.6053, allocations: 3.21 MB / 0.5112 GB, free: 1.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.6057, allocations: 0.7363 MB / 0.512 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002099/0.606, allocations: 48.48 kB / 0.512 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.6061, allocations: 67.41 kB / 0.5121 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6061, allocations: 0 / 0.5121 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/0.662, allocations: 26.5 MB / 0.5379 GB, free: 6.484 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002565/0.6623, allocations: 184.3 kB / 0.5381 GB, free: 6.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.187/3.849, allocations: 0 / 0.5381 GB, free: 6.23 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)