Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.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.Validation.Derivatives_SaturationBoundary,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary",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.001261/0.001261, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001521/0.001521, allocations: 177.3 kB / 15.94 MB, free: 228 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.325/1.325, allocations: 205.4 MB / 222.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04387/0.04387, allocations: 9.052 MB / 279.4 MB, free: 12.38 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.0004764/0.0004764, allocations: 16 kB / 339.2 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.08732, allocations: 49.19 MB / 388.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01687/0.1042, allocations: 16.41 MB / 404.8 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.1179, allocations: 14.59 MB / 419.4 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003922/0.1184, allocations: 4 kB / 419.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1196, allocations: 486.3 kB / 419.9 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01178/0.1314, allocations: 4.44 MB / 424.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.134, allocations: 0.8299 MB / 425.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008194/0.1349, allocations: 0.5428 MB / 425.7 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.135, allocations: 45.77 kB / 425.7 MB, free: 3.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005087/0.1355, allocations: 374.7 kB / 426.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.1359, allocations: 286.9 kB / 426.4 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.237e-05/0.1359, allocations: 28 kB / 426.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.185/0.3209, allocations: 8.924 MB / 435.3 MB, free: 17.11 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.3211, allocations: 88.47 kB / 435.4 MB, free: 17.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.3213, allocations: 125 kB / 435.5 MB, free: 17.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005056/0.3264, allocations: 2.248 MB / 437.8 MB, free: 16.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3264, allocations: 1.375 kB / 437.8 MB, free: 16.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3264, allocations: 1.969 kB / 437.8 MB, free: 16.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.3264, allocations: 0 / 437.8 MB, free: 16.96 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002776/0.3292, allocations: 1.161 MB / 438.9 MB, free: 16.27 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3292, allocations: 9.125 kB / 438.9 MB, free: 16.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.251e-05/0.3293, allocations: 101 kB / 439 MB, free: 16.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004424/0.3298, allocations: 86.05 kB / 439.1 MB, free: 16.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.33, allocations: 231.5 kB / 439.3 MB, free: 15.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.33, allocations: 23.33 kB / 439.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.3301, allocations: 27.28 kB / 439.4 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.3313, allocations: 1.258 MB / 440.7 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3314, allocations: 0 / 440.7 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.3314, allocations: 11.06 kB / 440.7 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.3314, allocations: 29.06 kB / 440.7 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.3334, allocations: 2.323 MB / 443 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3353, allocations: 2.17 MB / 445.2 MB, free: 15.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.3365, allocations: 1.35 MB / 446.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01766/0.3542, allocations: 10.94 MB / 457.5 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.3543, allocations: 40.84 kB / 457.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=185): time 2.906e-06/0.3543, allocations: 4 kB / 457.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=185): time 0.003559/0.3579, allocations: 4.206 MB / 461.7 MB, free: 5.027 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3579, allocations: 68.92 kB / 461.8 MB, free: 4.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.106e-05/0.358, allocations: 114.1 kB / 461.9 MB, free: 4.852 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.358, allocations: 37.45 kB / 461.9 MB, free: 4.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.3581, allocations: 90.69 kB / 462 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.3584, allocations: 0.5723 MB / 462.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.3584, allocations: 7.812 kB / 462.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.421e-05/0.3585, allocations: 369.9 kB / 463 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008543/0.3593, allocations: 1.025 MB / 464 MB, free: 3.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009069/0.3603, allocations: 1.03 MB / 465 MB, free: 3.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.3613, allocations: 1.086 MB / 466.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3613, allocations: 0 / 466.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.001997/0.3633, allocations: 2.342 MB / 468.5 MB, free: 2.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3634, allocations: 11.38 kB / 468.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.3634, allocations: 0 / 468.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3634, allocations: 0 / 468.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.3639, allocations: 126.5 kB / 468.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.364, allocations: 0 / 468.6 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004191/0.3644, allocations: 86.08 kB / 468.7 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.3644, allocations: 23.3 kB / 468.7 MB, free: 1.848 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0001754/0.3646, allocations: 167.7 kB / 468.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.3647, allocations: 51.25 kB / 468.9 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.3673, allocations: 2.653 MB / 471.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.883e-05/0.3674, allocations: 34.33 kB / 471.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3674, allocations: 0 / 471.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.3674, allocations: 3.984 kB / 471.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.3687, allocations: 1.16 MB / 472.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.3687, allocations: 7.984 kB / 472.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.3694, allocations: 141.9 kB / 472.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.768e-06/0.3694, allocations: 0 / 472.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.3694, allocations: 20 kB / 472.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.3694, allocations: 7.516 kB / 472.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.3694, allocations: 3.984 kB / 472.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.372, allocations: 2.333 MB / 475.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.3723, allocations: 215.7 kB / 475.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.3723, allocations: 19.44 kB / 475.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.3727, allocations: 27.98 kB / 475.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/0.3728, allocations: 53.89 kB / 475.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.3728, allocations: 24 kB / 475.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.629e-05/0.3729, allocations: 91.09 kB / 475.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3729, allocations: 0 / 475.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003122/0.376, allocations: 0.8745 MB / 476.6 MB, free: 10.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sat.liq.phase,sat.vap.phase,sat_Tplus.liq.phase,sat_Tplus.vap.phase,sat_Tminus.liq.phase,sat_Tminus.vap.phase,sat_pplus.liq.phase,sat_pplus.vap.phase,sat_pminus.liq.phase,sat_pminus.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.007289/0.3833, allocations: 4.09 MB / 480.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002541/0.3859, allocations: 2.364 MB / 483 MB, free: 4.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3859, allocations: 0 / 483 MB, free: 4.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.3871, allocations: 1.261 MB / 484.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.3888, allocations: 331.5 kB / 484.6 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004421/0.3933, allocations: 2.358 MB / 487 MB, free: 204 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.3938, allocations: 0.9055 MB / 487.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005918/0.3944, allocations: 249.8 kB / 488.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.3947, allocations: 195.3 kB / 488.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3947, allocations: 0 / 488.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06681/0.4615, allocations: 41.81 MB / 0.5177 GB, free: 5.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/0.4618, allocations: 211.4 kB / 0.5179 GB, free: 4.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.162/3.624, allocations: 0 / 0.5179 GB, free: 4.98 MB / 382.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) Environment - environmentSimulation: