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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 220.2 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 207.6 MB / 233 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05403/0.05403, allocations: 9.149 MB / 294.4 MB, free: 12.68 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 76.17 kB / 411.1 MB, free: 46.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07251/0.07476, allocations: 50.75 MB / 461.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.0238/0.09856, allocations: 19.9 MB / 481.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01861/0.1172, allocations: 17.17 MB / 499 MB, free: 7.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003889/0.1176, allocations: 4 kB / 499 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001469/0.119, allocations: 0.6343 MB / 499.6 MB, free: 6.809 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.typeBindings: time 0.01365/0.1327, allocations: 5.614 MB / 0.4934 GB, free: 1.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.1356, allocations: 1.088 MB / 0.4944 GB, free: 92 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.1367, allocations: 0.8018 MB / 0.4952 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.559e-05/0.1368, allocations: 21.97 kB / 0.4952 GB, free: 15.26 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.1373, allocations: 338.7 kB / 0.4956 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.1378, allocations: 306.6 kB / 0.4958 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.1378, allocations: 32 kB / 0.4959 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01827/0.1561, allocations: 9.923 MB / 0.5056 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.1562, allocations: 91.59 kB / 0.5057 GB, free: 4.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004029/0.1566, allocations: 274.5 kB / 0.5059 GB, free: 4.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.1668, allocations: 4.133 MB / 0.51 GB, free: 152 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1668, allocations: 0 / 0.51 GB, free: 152 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1668, allocations: 0 / 0.51 GB, free: 152 kB / 382.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1669, allocations: 0 / 0.51 GB, free: 152 kB / 382.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.002503/0.1694, allocations: 1.16 MB / 0.5111 GB, free: 14.95 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1694, allocations: 11.98 kB / 0.5111 GB, free: 14.94 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.1695, allocations: 106.4 kB / 0.5112 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004848/0.17, allocations: 99.56 kB / 0.5113 GB, free: 14.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.1702, allocations: 160.6 kB / 0.5114 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.1702, allocations: 16.66 kB / 0.5115 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.1703, allocations: 31.94 kB / 0.5115 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.1719, allocations: 1.33 MB / 0.5128 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.172, allocations: 0 / 0.5128 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.172, allocations: 15.94 kB / 0.5128 GB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.172, allocations: 27.94 kB / 0.5128 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002894/0.1749, allocations: 2.44 MB / 0.5152 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.1776, allocations: 2.218 MB / 0.5174 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.1792, allocations: 1.193 MB / 0.5186 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.1805, allocations: 1.114 MB / 0.5196 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01875/0.1992, allocations: 3.911 MB / 0.5235 GB, free: 2.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.1993, allocations: 43.22 kB / 0.5235 GB, free: 2.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 2.906e-06/0.1993, allocations: 0 / 0.5235 GB, free: 2.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.1864/0.3857, allocations: 3.804 MB / 0.5272 GB, free: 71.97 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/0.3857, allocations: 60.2 kB / 0.5273 GB, free: 71.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.3858, allocations: 111.7 kB / 0.5274 GB, free: 71.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.3858, allocations: 38.89 kB / 0.5274 GB, free: 71.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.619e-05/0.3858, allocations: 86.17 kB / 0.5275 GB, free: 71.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/0.3861, allocations: 0.605 MB / 0.5281 GB, free: 71.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001788/0.3863, allocations: 156.9 kB / 0.5282 GB, free: 71.34 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.197e-05/0.3864, allocations: 315.9 kB / 0.5285 GB, free: 71.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.3874, allocations: 1.082 MB / 0.5296 GB, free: 70.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.3884, allocations: 1.099 MB / 0.5307 GB, free: 70.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.3908, allocations: 2.364 MB / 0.533 GB, free: 69.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3908, allocations: 0 / 0.533 GB, free: 69.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003036/0.3938, allocations: 2.472 MB / 0.5354 GB, free: 67.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3938, allocations: 6.516 kB / 0.5354 GB, free: 67.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3938, allocations: 2.25 kB / 0.5354 GB, free: 67.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.3939, allocations: 2.656 kB / 0.5354 GB, free: 67.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006184/0.3945, allocations: 121.4 kB / 0.5355 GB, free: 67.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.3945, allocations: 5.594 kB / 0.5355 GB, free: 67.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.3949, allocations: 88.48 kB / 0.5356 GB, free: 67.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.3949, allocations: 22.53 kB / 0.5356 GB, free: 67.88 MB / 398.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_pminus.vap.phase,sat_pminus.liq.phase,sat_pplus.vap.phase,sat_pplus.liq.phase,sat_Tminus.vap.phase,sat_Tminus.liq.phase,sat_Tplus.vap.phase,sat_Tplus.liq.phase,sat.vap.phase,sat.liq.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.3951, allocations: 170.1 kB / 0.5358 GB, free: 67.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.3953, allocations: 62.44 kB / 0.5359 GB, free: 67.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.3983, allocations: 2.785 MB / 0.5386 GB, free: 66.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/0.3983, allocations: 29.52 kB / 0.5386 GB, free: 66.4 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.3983, allocations: 1.859 kB / 0.5386 GB, free: 66.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.3984, allocations: 4.5 kB / 0.5386 GB, free: 66.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.3994, allocations: 1.188 MB / 0.5398 GB, free: 65.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3994, allocations: 1.219 kB / 0.5398 GB, free: 65.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.4, allocations: 138.5 kB / 0.5399 GB, free: 65.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.4, allocations: 6.266 kB / 0.5399 GB, free: 65.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.4001, allocations: 18.05 kB / 0.5399 GB, free: 65.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.4001, allocations: 11.5 kB / 0.5399 GB, free: 65.76 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4001, allocations: 1.5 kB / 0.5399 GB, free: 65.76 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.4026, allocations: 2.449 MB / 0.5423 GB, free: 64.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001939/0.4028, allocations: 149.7 kB / 0.5425 GB, free: 64.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.4028, allocations: 11.97 kB / 0.5425 GB, free: 64.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/0.4032, allocations: 26.34 kB / 0.5425 GB, free: 64.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.155e-05/0.4032, allocations: 47.14 kB / 0.5426 GB, free: 64.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.4033, allocations: 27.67 kB / 0.5426 GB, free: 64.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.4033, allocations: 79.25 kB / 0.5427 GB, free: 64.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4033, allocations: 6.594 kB / 0.5427 GB, free: 64.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002105/0.4054, allocations: 0.8941 MB / 0.5435 GB, free: 64.16 MB / 398.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 (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.005006/0.4104, allocations: 4.218 MB / 0.5477 GB, free: 62.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.4123, allocations: 2.253 MB / 0.5499 GB, free: 60.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4123, allocations: 4 kB / 0.5499 GB, free: 60.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007918/0.4131, allocations: 1.061 MB / 0.5509 GB, free: 59.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.4145, allocations: 348.2 kB / 0.5512 GB, free: 59.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.4168, allocations: 2.118 MB / 0.5533 GB, free: 56.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.417, allocations: 0.8873 MB / 0.5542 GB, free: 55.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004151/0.4174, allocations: 258.6 kB / 0.5544 GB, free: 55.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002356/0.4177, allocations: 191.4 kB / 0.5546 GB, free: 55.53 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4177, allocations: 0 / 0.5546 GB, free: 55.53 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06798/0.4856, allocations: 44.88 MB / 0.5984 GB, free: 10.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.02/14.51, allocations: 11.94 kB / 0.5984 GB, free: 10.68 MB / 398.1 MB " [Timeout remaining time 645] (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/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.064852176932618] Failed to read output from testmodel.py, exit status != 0: 14.650369972921908 14.672132351 14.499903512 Calling exit ...