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.001496/0.001496, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.697/1.697, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05571/0.05571, allocations: 9.097 MB / 278.9 MB, free: 12.18 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.001442/0.001443, allocations: 63.91 kB / 338.1 MB, free: 25.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1035, allocations: 48.16 MB / 386.3 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02004/0.1236, allocations: 17.89 MB / 404.2 MB, free: 7.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2569/0.3806, allocations: 32.2 MB / 436.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.3808, allocations: 1.188 kB / 436.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3822, allocations: 414.6 kB / 436.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.3827, allocations: 139 kB / 436.9 MB, free: 10.68 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.03279/0.4155, allocations: 9.439 MB / 446.4 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008118/0.4163, allocations: 384.1 kB / 446.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.786e-05/0.4164, allocations: 22.72 kB / 446.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.4168, allocations: 166.4 kB / 446.9 MB, free: 9.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.4171, allocations: 122.1 kB / 447 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.4172, allocations: 13.12 kB / 447.1 MB, free: 9.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02417/0.4413, allocations: 10.97 MB / 458 MB, free: 5.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.4415, allocations: 45.02 kB / 458.1 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002543/0.4418, allocations: 106.3 kB / 458.2 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01516/0.457, allocations: 4.749 MB / 462.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.457, allocations: 2.562 kB / 462.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.457, allocations: 3.469 kB / 462.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.457, allocations: 0 / 462.9 MB, free: 3.262 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.002996/0.4601, allocations: 1.143 MB / 464.1 MB, free: 2.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.4601, allocations: 8.031 kB / 464.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.262e-05/0.4602, allocations: 46.55 kB / 464.1 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.4604, allocations: 35.7 kB / 464.2 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.4607, allocations: 225.3 kB / 464.4 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.4607, allocations: 8 kB / 464.4 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.4607, allocations: 12 kB / 464.4 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/0.4613, allocations: 264.3 kB / 464.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4613, allocations: 0 / 464.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.4613, allocations: 4 kB / 464.7 MB, free: 1.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.4614, allocations: 6.953 kB / 464.7 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005786/0.4619, allocations: 232 kB / 464.9 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008196/0.4628, allocations: 1.073 MB / 466 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005351/0.4633, allocations: 241.5 kB / 466.2 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.4637, allocations: 155.4 kB / 466.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08929/0.553, allocations: 46.26 MB / 0.5006 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.5531, allocations: 46.53 kB / 0.5006 GB, free: 9.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 3.396e-06/0.5531, allocations: 0 / 0.5006 GB, free: 9.637 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001705/0.5548, allocations: 469 kB / 0.5011 GB, free: 9.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.815e-05/0.5549, allocations: 132.5 kB / 0.5012 GB, free: 9.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.5551, allocations: 172 kB / 0.5014 GB, free: 8.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.5552, allocations: 29.7 kB / 0.5014 GB, free: 8.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.5553, allocations: 124.4 kB / 0.5015 GB, free: 8.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/0.5554, allocations: 88.72 kB / 0.5016 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.006e-05/0.5554, allocations: 45.62 kB / 0.5017 GB, free: 8.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5556, allocations: 338.8 kB / 0.502 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.5559, allocations: 103.9 kB / 0.5021 GB, free: 8.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.5562, allocations: 169.8 kB / 0.5022 GB, free: 7.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005878/0.5568, allocations: 278.6 kB / 0.5025 GB, free: 7.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5568, allocations: 0 / 0.5025 GB, free: 7.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007/0.5576, allocations: 325.8 kB / 0.5028 GB, free: 7.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.5576, allocations: 7.984 kB / 0.5028 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.5576, allocations: 6.719 kB / 0.5028 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5576, allocations: 0 / 0.5028 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.5579, allocations: 44.16 kB / 0.5029 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.5579, allocations: 11.92 kB / 0.5029 GB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.5581, allocations: 31.83 kB / 0.5029 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.5582, allocations: 7.984 kB / 0.5029 GB, free: 7.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.0001314/0.5583, allocations: 131.4 kB / 0.503 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5584, allocations: 23.72 kB / 0.5031 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/0.5591, allocations: 364.9 kB / 0.5034 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.5591, allocations: 15.5 kB / 0.5034 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.5591, allocations: 0 / 0.5034 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5591, allocations: 4 kB / 0.5034 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.5596, allocations: 317.6 kB / 0.5037 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5596, allocations: 0 / 0.5037 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.5598, allocations: 39.95 kB / 0.5038 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.5598, allocations: 3.938 kB / 0.5038 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.5599, allocations: 4 kB / 0.5038 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5599, allocations: 3.984 kB / 0.5038 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5599, allocations: 7.984 kB / 0.5038 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008662/0.5608, allocations: 0.6399 MB / 0.5044 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.5608, allocations: 100.9 kB / 0.5045 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.5609, allocations: 4 kB / 0.5045 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.5612, allocations: 19.97 kB / 0.5045 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.5613, allocations: 19.97 kB / 0.5046 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.5613, allocations: 8 kB / 0.5046 GB, free: 5.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.5614, allocations: 132 kB / 0.5047 GB, free: 5.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5614, allocations: 0 / 0.5047 GB, free: 5.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002845/0.5643, allocations: 0.7924 MB / 0.5055 GB, free: 4.488 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.004461/0.5687, allocations: 2.284 MB / 0.5077 GB, free: 2.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007714/0.5695, allocations: 288.1 kB / 0.508 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5695, allocations: 0 / 0.508 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.5699, allocations: 155.9 kB / 0.5081 GB, free: 1.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/0.5708, allocations: 102.9 kB / 0.5082 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004465/0.5753, allocations: 3.021 MB / 0.5112 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.5757, allocations: 0.7402 MB / 0.5119 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.5759, allocations: 48.48 kB / 0.5119 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.576, allocations: 67.41 kB / 0.512 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.576, allocations: 0 / 0.512 GB, free: 13.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06326/0.6393, allocations: 27.03 MB / 0.5384 GB, free: 2.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.026/9.665, allocations: 8.062 kB / 0.5384 GB, free: 2.664 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)