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.005062/0.005062, allocations: 101.7 kB / 15.73 MB, free: 6.469 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.001189/0.00119, allocations: 193.2 kB / 16.67 MB, free: 6.379 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.514/1.514, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0478/0.0478, allocations: 9.097 MB / 279 MB, free: 12.09 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.001716/0.001716, allocations: 67.91 kB / 386.9 MB, free: 8.562 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3037, allocations: 48.15 MB / 435.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.BaseProps_sweep): time 0.02612/0.3299, allocations: 17.89 MB / 453 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03552/0.3654, allocations: 32.21 MB / 485.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.3657, allocations: 0 / 485.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.367, allocations: 433.9 kB / 485.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000521/0.3676, allocations: 131.1 kB / 485.7 MB, free: 14.02 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.03441/0.402, allocations: 9.432 MB / 495.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006712/0.4027, allocations: 390.4 kB / 495.6 MB, free: 4.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.61e-05/0.4028, allocations: 16.41 kB / 495.6 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.4033, allocations: 167.4 kB / 495.7 MB, free: 3.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.4035, allocations: 123.5 kB / 495.9 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.175e-05/0.4036, allocations: 12 kB / 495.9 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02622/0.4298, allocations: 11.47 MB / 0.4954 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.43, allocations: 35.89 kB / 0.4955 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002365/0.4302, allocations: 115.5 kB / 0.4956 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01734/0.4476, allocations: 4.752 MB / 0.5002 GB, free: 3.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4477, allocations: 0 / 0.5002 GB, free: 3.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4477, allocations: 0 / 0.5002 GB, free: 3.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.4477, allocations: 4 kB / 0.5002 GB, free: 3.449 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.002804/0.4505, allocations: 1.134 MB / 0.5013 GB, free: 2.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4505, allocations: 8.031 kB / 0.5013 GB, free: 2.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.4506, allocations: 50.55 kB / 0.5014 GB, free: 2.199 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.4509, allocations: 31.7 kB / 0.5014 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.4512, allocations: 234.6 kB / 0.5016 GB, free: 1.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.4513, allocations: 11.94 kB / 0.5017 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.4513, allocations: 8 kB / 0.5017 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.4519, allocations: 263.5 kB / 0.5019 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.452, allocations: 0 / 0.5019 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.452, allocations: 4 kB / 0.5019 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.452, allocations: 7.984 kB / 0.5019 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.4527, allocations: 228 kB / 0.5021 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.4538, allocations: 1.083 MB / 0.5032 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.4543, allocations: 234.4 kB / 0.5034 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.4546, allocations: 163.2 kB / 0.5036 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08457/0.5392, allocations: 46.25 MB / 0.5488 GB, free: 9.617 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/0.5393, allocations: 38.56 kB / 0.5488 GB, free: 9.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.406e-06/0.5393, allocations: 0 / 0.5488 GB, free: 9.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.001557/0.5409, allocations: 468.5 kB / 0.5492 GB, free: 9.109 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.541, allocations: 136.5 kB / 0.5494 GB, free: 8.945 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.5412, allocations: 183.9 kB / 0.5495 GB, free: 8.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.5412, allocations: 29.7 kB / 0.5496 GB, free: 8.723 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.5413, allocations: 120.4 kB / 0.5497 GB, free: 8.598 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.963e-05/0.5414, allocations: 90.64 kB / 0.5498 GB, free: 8.508 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.5415, allocations: 45.73 kB / 0.5498 GB, free: 8.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5416, allocations: 334.8 kB / 0.5501 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.5418, allocations: 103.9 kB / 0.5502 GB, free: 8.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.5421, allocations: 157.9 kB / 0.5504 GB, free: 7.844 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005356/0.5427, allocations: 287.2 kB / 0.5507 GB, free: 7.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5427, allocations: 0 / 0.5507 GB, free: 7.539 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006781/0.5434, allocations: 321.9 kB / 0.551 GB, free: 7.219 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.5434, allocations: 8 kB / 0.551 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5434, allocations: 0 / 0.551 GB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.5434, allocations: 4 kB / 0.551 GB, free: 7.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.5437, allocations: 56.08 kB / 0.551 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5437, allocations: 0 / 0.551 GB, free: 7.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.5439, allocations: 31.77 kB / 0.5511 GB, free: 7.121 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.544, allocations: 7.984 kB / 0.5511 GB, free: 7.113 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.0001242/0.5441, allocations: 133.8 kB / 0.5512 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5442, allocations: 19.81 kB / 0.5512 GB, free: 6.953 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005812/0.5448, allocations: 364.9 kB / 0.5516 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.5448, allocations: 7.938 kB / 0.5516 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5448, allocations: 0 / 0.5516 GB, free: 6.586 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5448, allocations: 7.938 kB / 0.5516 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.5453, allocations: 317.7 kB / 0.5519 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5453, allocations: 4 kB / 0.5519 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.5455, allocations: 39.91 kB / 0.5519 GB, free: 6.176 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.5456, allocations: 4 kB / 0.5519 GB, free: 6.172 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.5456, allocations: 7.984 kB / 0.5519 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5456, allocations: 4 kB / 0.5519 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5456, allocations: 0 / 0.5519 GB, free: 6.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007136/0.5463, allocations: 0.6391 MB / 0.5526 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.5464, allocations: 100.8 kB / 0.5527 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.5464, allocations: 4.188 kB / 0.5527 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.5467, allocations: 23.98 kB / 0.5527 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.5468, allocations: 27.84 kB / 0.5527 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.5468, allocations: 11.98 kB / 0.5527 GB, free: 5.316 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.464e-05/0.5469, allocations: 120.1 kB / 0.5528 GB, free: 5.199 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5469, allocations: 0 / 0.5528 GB, free: 5.199 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002101/0.549, allocations: 0.8041 MB / 0.5536 GB, free: 4.395 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.004142/0.5532, allocations: 2.27 MB / 0.5558 GB, free: 2.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.5539, allocations: 283.7 kB / 0.5561 GB, free: 1.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5539, allocations: 384 / 0.5561 GB, free: 1.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003182/0.5542, allocations: 163.8 kB / 0.5563 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008332/0.5551, allocations: 103.5 kB / 0.5564 GB, free: 1.566 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004109/0.5592, allocations: 3.029 MB / 0.5593 GB, free: 14.41 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.5595, allocations: 0.7402 MB / 0.56 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.5597, allocations: 52.77 kB / 0.5601 GB, free: 13.59 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5598, allocations: 67.39 kB / 0.5602 GB, free: 13.52 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.5598, allocations: 4 kB / 0.5602 GB, free: 13.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05419/0.614, allocations: 27.13 MB / 0.5867 GB, free: 2.363 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.025/9.639, allocations: 8.562 kB / 0.5867 GB, free: 2.355 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)