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.001678/0.001678, allocations: 106.3 kB / 16.45 MB, free: 6.453 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.002022/0.002022, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.484/1.484, allocations: 207.6 MB / 229.8 MB, free: 11.4 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.05255/0.05255, allocations: 9.16 MB / 290.8 MB, free: 13.89 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.002148/0.002148, allocations: 72.17 kB / 405.9 MB, free: 47.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07579/0.07794, allocations: 50.71 MB / 456.6 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02404/0.102, allocations: 19.86 MB / 476.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01912/0.1211, allocations: 17.18 MB / 493.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.1216, allocations: 4 kB / 493.7 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.1233, allocations: 0.6343 MB / 494.3 MB, free: 8.332 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.01578/0.1391, allocations: 5.554 MB / 499.9 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004428/0.1435, allocations: 1.077 MB / 0.4892 GB, free: 1.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.1452, allocations: 0.7979 MB / 0.49 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.1453, allocations: 29.77 kB / 0.49 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007657/0.1461, allocations: 338.7 kB / 0.4903 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006906/0.1468, allocations: 310.7 kB / 0.4906 GB, free: 220 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.1468, allocations: 28 kB / 0.4906 GB, free: 192 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0253/0.1721, allocations: 9.607 MB / 0.5 GB, free: 6.562 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.1723, allocations: 95.52 kB / 0.5001 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005261/0.1728, allocations: 270.5 kB / 0.5004 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.1865, allocations: 4.118 MB / 0.5044 GB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1865, allocations: 0 / 0.5044 GB, free: 2.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1865, allocations: 0 / 0.5044 GB, free: 2.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.1865, allocations: 0 / 0.5044 GB, free: 2.074 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003534/0.19, allocations: 1.239 MB / 0.5056 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1901, allocations: 16.02 kB / 0.5056 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.1902, allocations: 102.5 kB / 0.5057 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004409/0.1906, allocations: 91.56 kB / 0.5058 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.1908, allocations: 226.3 kB / 0.506 GB, free: 312 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.1908, allocations: 20.56 kB / 0.506 GB, free: 292 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.1909, allocations: 24 kB / 0.5061 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.1925, allocations: 1.263 MB / 0.5073 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1925, allocations: 0 / 0.5073 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.1926, allocations: 11.94 kB / 0.5073 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.1926, allocations: 23.97 kB / 0.5073 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002685/0.1953, allocations: 2.315 MB / 0.5096 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.1978, allocations: 2.155 MB / 0.5117 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.1994, allocations: 1.131 MB / 0.5128 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.2007, allocations: 1.044 MB / 0.5138 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02368/0.2244, allocations: 11.22 MB / 0.5248 GB, free: 11.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.813e-05/0.2244, allocations: 51.12 kB / 0.5248 GB, free: 11.16 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 3.878e-06/0.2244, allocations: 0 / 0.5248 GB, free: 11.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=185): time 0.005279/0.2297, allocations: 3.6 MB / 0.5283 GB, free: 7.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.2298, allocations: 59.97 kB / 0.5284 GB, free: 7.488 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.2299, allocations: 113.8 kB / 0.5285 GB, free: 7.367 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.2299, allocations: 37.7 kB / 0.5285 GB, free: 7.324 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.23, allocations: 87.06 kB / 0.5286 GB, free: 7.234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005301/0.2305, allocations: 0.6 MB / 0.5292 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002373/0.2308, allocations: 154.2 kB / 0.5294 GB, free: 6.473 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2309, allocations: 313.9 kB / 0.5297 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.2323, allocations: 1.022 MB / 0.5307 GB, free: 5.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.2338, allocations: 1.035 MB / 0.5317 GB, free: 4.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/0.2368, allocations: 2.225 MB / 0.5338 GB, free: 1.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2368, allocations: 3.938 kB / 0.5339 GB, free: 1.871 MB / 414.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.1869/0.4237, allocations: 2.335 MB / 0.5361 GB, free: 88.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4237, allocations: 6.703 kB / 0.5361 GB, free: 88.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.4237, allocations: 0 / 0.5361 GB, free: 88.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.4238, allocations: 2.719 kB / 0.5361 GB, free: 88.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/0.4244, allocations: 115.7 kB / 0.5362 GB, free: 88.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4244, allocations: 3.266 kB / 0.5363 GB, free: 88.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.4248, allocations: 92.22 kB / 0.5363 GB, free: 88.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.4248, allocations: 24.98 kB / 0.5364 GB, free: 88.39 MB / 414.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.0002056/0.425, allocations: 172.7 kB / 0.5365 GB, free: 88.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.4252, allocations: 56.23 kB / 0.5366 GB, free: 88.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/0.4282, allocations: 2.633 MB / 0.5392 GB, free: 87.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.613e-05/0.4282, allocations: 33.92 kB / 0.5392 GB, free: 87.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.4282, allocations: 2.297 kB / 0.5392 GB, free: 87.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.4282, allocations: 7.594 kB / 0.5392 GB, free: 87.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.4293, allocations: 1.166 MB / 0.5403 GB, free: 86.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4293, allocations: 0 / 0.5403 GB, free: 86.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/0.4299, allocations: 139.9 kB / 0.5405 GB, free: 86.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.43, allocations: 2.75 kB / 0.5405 GB, free: 86.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.43, allocations: 20.02 kB / 0.5405 GB, free: 86.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.43, allocations: 2.75 kB / 0.5405 GB, free: 86.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.43, allocations: 1.688 kB / 0.5405 GB, free: 86.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.4327, allocations: 2.345 MB / 0.5428 GB, free: 85.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.4329, allocations: 225.6 kB / 0.543 GB, free: 85.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.4329, allocations: 15.03 kB / 0.543 GB, free: 85.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.4333, allocations: 19.92 kB / 0.543 GB, free: 85.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4334, allocations: 51.7 kB / 0.5431 GB, free: 85.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.4334, allocations: 21.75 kB / 0.5431 GB, free: 85.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.669e-05/0.4335, allocations: 90.8 kB / 0.5432 GB, free: 85.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4335, allocations: 0 / 0.5432 GB, free: 85.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002376/0.4358, allocations: 0.8972 MB / 0.5441 GB, free: 85.27 MB / 414.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.006731/0.4426, allocations: 4.114 MB / 0.5481 GB, free: 83.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002479/0.4451, allocations: 2.131 MB / 0.5502 GB, free: 82.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4451, allocations: 1.156 kB / 0.5502 GB, free: 82.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.4462, allocations: 1.007 MB / 0.5511 GB, free: 81.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/0.448, allocations: 361 kB / 0.5515 GB, free: 81.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002977/0.451, allocations: 2.049 MB / 0.5535 GB, free: 80.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.4512, allocations: 0.8843 MB / 0.5544 GB, free: 80.15 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004484/0.4516, allocations: 256 kB / 0.5546 GB, free: 80.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.4519, allocations: 191.8 kB / 0.5548 GB, free: 79.99 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.4519, allocations: 0 / 0.5548 GB, free: 79.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06351/0.5154, allocations: 43.46 MB / 0.5972 GB, free: 38.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.48, allocations: 11.98 kB / 0.5972 GB, free: 38.34 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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: 14.196241587866098] Failed to read output from testmodel.py, exit status != 0: 11.574901782907546 11.58472632 11.395981292 Calling exit ...