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.0008399/0.00084, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.0008648/0.0008648, allocations: 172.7 kB / 15.95 MB, free: 208 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.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04449/0.04449, allocations: 9.063 MB / 279.4 MB, free: 12.27 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.0004668/0.0004668, allocations: 23.42 kB / 339.2 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08218/0.08265, allocations: 49.19 MB / 388.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.01603/0.09872, allocations: 18.26 MB / 406.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.1132, allocations: 15.99 MB / 422.7 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.1136, allocations: 4 kB / 422.7 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.1146, allocations: 469.8 kB / 423.1 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.1248, allocations: 4.301 MB / 427.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002127/0.1269, allocations: 0.7852 MB / 428.2 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008165/0.1277, allocations: 0.7356 MB / 429 MB, free: 4 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1717/0.2994, allocations: 42.28 kB / 429 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008036/0.3003, allocations: 321.8 kB / 429.3 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000701/0.301, allocations: 294.5 kB / 429.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.75e-05/0.3011, allocations: 27.62 kB / 429.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01718/0.3183, allocations: 7.87 MB / 437.5 MB, free: 18.63 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.3185, allocations: 93.81 kB / 437.6 MB, free: 18.63 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.3188, allocations: 118.6 kB / 437.7 MB, free: 18.6 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005077/0.3239, allocations: 2.345 MB / 440.1 MB, free: 18.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3239, allocations: 0 / 440.1 MB, free: 18.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3239, allocations: 0 / 440.1 MB, free: 18.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.3239, allocations: 0 / 440.1 MB, free: 18.47 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.003104/0.327, allocations: 1.171 MB / 441.2 MB, free: 17.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3271, allocations: 11.89 kB / 441.2 MB, free: 17.77 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.3272, allocations: 100 kB / 441.3 MB, free: 17.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004213/0.3276, allocations: 84.14 kB / 441.4 MB, free: 17.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.3278, allocations: 228.1 kB / 441.6 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.3279, allocations: 22.98 kB / 441.7 MB, free: 17.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.073e-05/0.3279, allocations: 29.97 kB / 441.7 MB, free: 17.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3292, allocations: 1.263 MB / 443 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3292, allocations: 0 / 443 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.134e-05/0.3293, allocations: 14 kB / 443 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.3293, allocations: 23.75 kB / 443 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.3313, allocations: 2.323 MB / 445.3 MB, free: 17.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.3333, allocations: 2.165 MB / 447.5 MB, free: 16.97 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.3345, allocations: 1.352 MB / 448.8 MB, free: 16.83 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009353/0.3354, allocations: 1.277 MB / 450.1 MB, free: 16.71 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01559/0.3511, allocations: 10.91 MB / 461 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3511, allocations: 42.84 kB / 461.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of pre-optimization done (n=185): time 2.605e-06/0.3511, allocations: 0 / 461.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=185): time 0.003585/0.3547, allocations: 3.6 MB / 464.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.3548, allocations: 58.78 kB / 464.7 MB, free: 5.598 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.896e-05/0.3549, allocations: 111.8 kB / 464.8 MB, free: 5.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.3549, allocations: 36.27 kB / 464.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.3549, allocations: 85.27 kB / 464.9 MB, free: 5.371 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.3552, allocations: 0.5749 MB / 465.5 MB, free: 4.867 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.3553, allocations: 15.62 kB / 465.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.3554, allocations: 359.5 kB / 465.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008804/0.3562, allocations: 1.028 MB / 466.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008463/0.3571, allocations: 1.038 MB / 468 MB, free: 3.398 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/0.358, allocations: 1.094 MB / 469 MB, free: 2.773 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.358, allocations: 0.8438 kB / 469 MB, free: 2.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00211/0.3602, allocations: 2.336 MB / 471.4 MB, free: 440 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.3602, allocations: 5.422 kB / 471.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.3602, allocations: 0 / 471.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.3602, allocations: 8 kB / 471.4 MB, free: 428 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005617/0.3608, allocations: 121.8 kB / 471.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.3608, allocations: 7.984 kB / 471.5 MB, free: 304 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.3613, allocations: 85.53 kB / 471.6 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.3614, allocations: 23.97 kB / 471.6 MB, free: 196 kB / 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.0001833/0.3616, allocations: 172.3 kB / 471.8 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.3617, allocations: 55.42 kB / 471.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/0.3649, allocations: 2.647 MB / 474.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/0.3649, allocations: 27.56 kB / 474.5 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.365, allocations: 4 kB / 474.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.365, allocations: 3.984 kB / 474.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.3663, allocations: 1.159 MB / 475.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.3664, allocations: 4 kB / 475.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.367, allocations: 139 kB / 475.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.367, allocations: 6.734 kB / 475.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/0.367, allocations: 19.98 kB / 475.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.3671, allocations: 4 kB / 475.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3671, allocations: 0 / 475.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002671/0.3697, allocations: 2.336 MB / 478.2 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/0.3701, allocations: 223.7 kB / 478.4 MB, free: 9.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.413e-05/0.3702, allocations: 12 kB / 478.4 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.3705, allocations: 27.94 kB / 478.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.3707, allocations: 56.88 kB / 478.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.3707, allocations: 23.98 kB / 478.5 MB, free: 9.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.345e-05/0.3708, allocations: 83.28 kB / 478.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3708, allocations: 0 / 478.6 MB, free: 9.168 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003022/0.3738, allocations: 0.8761 MB / 479.5 MB, free: 8.293 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.008725/0.3825, allocations: 4.09 MB / 483.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002822/0.3854, allocations: 2.364 MB / 485.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3854, allocations: 0 / 485.9 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.3868, allocations: 1.257 MB / 487.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.3886, allocations: 356.5 kB / 487.6 MB, free: 424 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004325/0.393, allocations: 2.363 MB / 489.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.3934, allocations: 0.8899 MB / 490.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005981/0.394, allocations: 250.9 kB / 491 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.3943, allocations: 191.4 kB / 491.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3943, allocations: 2.188 kB / 491.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06807/0.4624, allocations: 41.83 MB / 0.5206 GB, free: 3.039 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.4627, allocations: 213.5 kB / 0.5208 GB, free: 2.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.453/3.916, allocations: 7.344 kB / 0.5208 GB, free: 2.785 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: