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.007627/0.007627, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.002073/0.002073, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.399/1.399, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06379/0.06379, allocations: 9.097 MB / 279 MB, free: 12.07 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.002171/0.002171, allocations: 59.91 kB / 386.9 MB, free: 8.547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2316, allocations: 48.15 MB / 435.1 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.0193/0.251, allocations: 17.89 MB / 453 MB, free: 10.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03292/0.2839, allocations: 32.22 MB / 485.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.2841, allocations: 4 kB / 485.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.2853, allocations: 430 kB / 485.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004201/0.2858, allocations: 127.1 kB / 485.7 MB, free: 14.01 MB / 366.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.02416/0.31, allocations: 9.436 MB / 495.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.3105, allocations: 382.5 kB / 495.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.172e-05/0.3106, allocations: 24.38 kB / 495.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.3109, allocations: 167.3 kB / 495.7 MB, free: 3.977 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.3111, allocations: 123.6 kB / 495.9 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.3112, allocations: 12 kB / 495.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01959/0.3307, allocations: 11.46 MB / 0.4954 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.3309, allocations: 43.83 kB / 0.4955 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.3311, allocations: 111.5 kB / 0.4956 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.3419, allocations: 4.754 MB / 0.5002 GB, free: 3.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.342, allocations: 4 kB / 0.5002 GB, free: 3.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.342, allocations: 0 / 0.5002 GB, free: 3.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.342, allocations: 0 / 0.5002 GB, free: 3.441 MB / 382.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.002396/0.3444, allocations: 1.18 MB / 0.5014 GB, free: 2.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3445, allocations: 12.02 kB / 0.5014 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.21e-05/0.3445, allocations: 42.56 kB / 0.5014 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.3448, allocations: 39.84 kB / 0.5015 GB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.3451, allocations: 230.7 kB / 0.5017 GB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.3451, allocations: 15.88 kB / 0.5017 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.3452, allocations: 12 kB / 0.5017 GB, free: 1.812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.3458, allocations: 263.4 kB / 0.502 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3458, allocations: 0 / 0.502 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3459, allocations: 3.938 kB / 0.502 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3459, allocations: 4 kB / 0.502 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.3466, allocations: 224 kB / 0.5022 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.3479, allocations: 1.079 MB / 0.5033 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006491/0.3486, allocations: 246.3 kB / 0.5035 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.3489, allocations: 155.3 kB / 0.5036 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08954/0.4385, allocations: 46.24 MB / 0.5488 GB, free: 9.566 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.4386, allocations: 46.48 kB / 0.5488 GB, free: 9.512 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.304e-06/0.4386, allocations: 0 / 0.5488 GB, free: 9.512 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001647/0.4402, allocations: 464.7 kB / 0.5493 GB, free: 9.055 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/0.4403, allocations: 140.4 kB / 0.5494 GB, free: 8.887 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4405, allocations: 172 kB / 0.5496 GB, free: 8.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.4406, allocations: 29.7 kB / 0.5496 GB, free: 8.676 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.4407, allocations: 124.5 kB / 0.5497 GB, free: 8.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.4408, allocations: 99.3 kB / 0.5498 GB, free: 8.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.4409, allocations: 37.69 kB / 0.5499 GB, free: 8.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4411, allocations: 334.8 kB / 0.5502 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000309/0.4414, allocations: 111.9 kB / 0.5503 GB, free: 7.961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.4417, allocations: 161.9 kB / 0.5504 GB, free: 7.781 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/0.4424, allocations: 275.3 kB / 0.5507 GB, free: 7.488 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4424, allocations: 4 kB / 0.5507 GB, free: 7.484 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007694/0.4432, allocations: 326 kB / 0.551 GB, free: 7.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.4432, allocations: 5.094 kB / 0.551 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.4432, allocations: 4.188 kB / 0.551 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.4433, allocations: 7.984 kB / 0.551 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.4435, allocations: 47.89 kB / 0.5511 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.4435, allocations: 4 kB / 0.5511 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.4438, allocations: 39.8 kB / 0.5511 GB, free: 7.055 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.4438, allocations: 4 kB / 0.5511 GB, free: 7.051 MB / 446.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.0001392/0.4439, allocations: 141.7 kB / 0.5513 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.444, allocations: 23.84 kB / 0.5513 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007101/0.4448, allocations: 361 kB / 0.5516 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.4448, allocations: 4 kB / 0.5516 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4448, allocations: 0 / 0.5516 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4448, allocations: 7.922 kB / 0.5516 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005411/0.4454, allocations: 321.8 kB / 0.5519 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4454, allocations: 8 kB / 0.552 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.4456, allocations: 43.89 kB / 0.552 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.4456, allocations: 4 kB / 0.552 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.4456, allocations: 4 kB / 0.552 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4456, allocations: 0 / 0.552 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4456, allocations: 4 kB / 0.552 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008856/0.4465, allocations: 0.6433 MB / 0.5526 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.948e-05/0.4466, allocations: 100.9 kB / 0.5527 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.705e-05/0.4467, allocations: 7.938 kB / 0.5527 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003101/0.447, allocations: 23.97 kB / 0.5528 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.78e-05/0.4471, allocations: 23.91 kB / 0.5528 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.4471, allocations: 8 kB / 0.5528 GB, free: 5.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.4472, allocations: 120.1 kB / 0.5529 GB, free: 5.125 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4472, allocations: 0 / 0.5529 GB, free: 5.125 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002138/0.4494, allocations: 0.8139 MB / 0.5537 GB, free: 4.309 MB / 446.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.004807/0.4542, allocations: 2.291 MB / 0.5559 GB, free: 1.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007916/0.455, allocations: 284 kB / 0.5562 GB, free: 1.715 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.455, allocations: 0 / 0.5562 GB, free: 1.715 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.4554, allocations: 155.9 kB / 0.5564 GB, free: 1.562 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/0.4563, allocations: 100.2 kB / 0.5565 GB, free: 1.465 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.4611, allocations: 3.039 MB / 0.5594 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004162/0.4615, allocations: 0.7402 MB / 0.5601 GB, free: 13.53 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.4617, allocations: 48.44 kB / 0.5602 GB, free: 13.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.4618, allocations: 71.41 kB / 0.5603 GB, free: 13.41 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4618, allocations: 0 / 0.5603 GB, free: 13.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06016/0.522, allocations: 27.07 MB / 0.5867 GB, free: 2.316 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.026/9.548, allocations: 8.5 kB / 0.5867 GB, free: 2.309 MB / 478.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)