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.001206/0.001206, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001339/0.001339, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.278/1.278, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] 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.04839/0.04839, allocations: 9.158 MB / 295.2 MB, free: 12.7 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_Derivatives_SaturationBoundary",fmuType="cs",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.002063/0.002063, allocations: 70.98 kB / 411.9 MB, free: 46.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06801/0.07007, allocations: 50.76 MB / 462.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02184/0.09191, allocations: 19.9 MB / 482.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.1091, allocations: 17.17 MB / 499.7 MB, free: 7.441 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.1094, allocations: 4 kB / 499.7 MB, free: 7.438 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.1108, allocations: 0.6305 MB / 0.4886 GB, free: 6.805 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.01229/0.1231, allocations: 5.624 MB / 0.4941 GB, free: 1.172 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.1257, allocations: 1.081 MB / 0.4952 GB, free: 88 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001017/0.1267, allocations: 0.7979 MB / 0.496 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.749e-05/0.1267, allocations: 25.97 kB / 0.496 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004128/0.1272, allocations: 342.7 kB / 0.4963 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000394/0.1276, allocations: 302.7 kB / 0.4966 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.822e-05/0.1276, allocations: 32 kB / 0.4966 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01626/0.1439, allocations: 9.919 MB / 0.5063 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.98e-05/0.144, allocations: 95.52 kB / 0.5064 GB, free: 4.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003768/0.1443, allocations: 282.5 kB / 0.5067 GB, free: 4.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009043/0.1534, allocations: 4.126 MB / 0.5107 GB, free: 148 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1534, allocations: 4 kB / 0.5107 GB, free: 144 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1534, allocations: 0 / 0.5107 GB, free: 144 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.1534, allocations: 0 / 0.5107 GB, free: 144 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.002335/0.1557, allocations: 1.16 MB / 0.5119 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.1558, allocations: 19.92 kB / 0.5119 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.489e-05/0.1558, allocations: 12.59 kB / 0.5119 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.1559, allocations: 98.55 kB / 0.512 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004295/0.1563, allocations: 95.56 kB / 0.5121 GB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.1565, allocations: 164.5 kB / 0.5122 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.1565, allocations: 20.66 kB / 0.5123 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/0.1566, allocations: 28 kB / 0.5123 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.1581, allocations: 1.334 MB / 0.5136 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1582, allocations: 3.938 kB / 0.5136 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.696e-05/0.1582, allocations: 8 kB / 0.5136 GB, free: 13.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.1582, allocations: 27.95 kB / 0.5136 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.1608, allocations: 2.44 MB / 0.516 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002413/0.1632, allocations: 2.218 MB / 0.5182 GB, free: 8.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.1647, allocations: 1.193 MB / 0.5193 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.1658, allocations: 1.118 MB / 0.5204 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01757/0.1834, allocations: 3.911 MB / 0.5242 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.1835, allocations: 43.22 kB / 0.5243 GB, free: 2.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 2.365e-06/0.1835, allocations: 4 kB / 0.5243 GB, free: 2.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.1634/0.3468, allocations: 3.802 MB / 0.528 GB, free: 72.04 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.3469, allocations: 61.53 kB / 0.5281 GB, free: 71.97 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.835e-05/0.3469, allocations: 116.9 kB / 0.5282 GB, free: 71.87 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.347, allocations: 36.64 kB / 0.5282 GB, free: 71.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.347, allocations: 85.02 kB / 0.5283 GB, free: 71.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.3473, allocations: 0.6116 MB / 0.5289 GB, free: 71.42 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.3474, allocations: 150.3 kB / 0.529 GB, free: 71.4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.522e-05/0.3475, allocations: 310.2 kB / 0.5293 GB, free: 71.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.3485, allocations: 1.084 MB / 0.5304 GB, free: 70.65 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009997/0.3495, allocations: 1.099 MB / 0.5315 GB, free: 70.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002184/0.3517, allocations: 2.365 MB / 0.5338 GB, free: 69.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3517, allocations: 0 / 0.5338 GB, free: 69.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002843/0.3545, allocations: 2.471 MB / 0.5362 GB, free: 67.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3546, allocations: 5.312 kB / 0.5362 GB, free: 67.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.3546, allocations: 1.109 kB / 0.5362 GB, free: 67.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3546, allocations: 2.781 kB / 0.5362 GB, free: 67.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.3552, allocations: 119 kB / 0.5363 GB, free: 67.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.3552, allocations: 7.969 kB / 0.5363 GB, free: 67.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.3555, allocations: 86.03 kB / 0.5364 GB, free: 67.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.3556, allocations: 27.12 kB / 0.5364 GB, free: 67.93 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.0001673/0.3557, allocations: 163.2 kB / 0.5366 GB, free: 67.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.3559, allocations: 61.95 kB / 0.5366 GB, free: 67.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.3588, allocations: 2.782 MB / 0.5393 GB, free: 66.46 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.3588, allocations: 29.08 kB / 0.5394 GB, free: 66.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3588, allocations: 0 / 0.5394 GB, free: 66.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3588, allocations: 3.078 kB / 0.5394 GB, free: 66.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.3599, allocations: 1.185 MB / 0.5405 GB, free: 65.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3599, allocations: 0.5625 kB / 0.5405 GB, free: 65.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005785/0.3604, allocations: 140.4 kB / 0.5407 GB, free: 65.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3604, allocations: 3.156 kB / 0.5407 GB, free: 65.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-05/0.3605, allocations: 23.22 kB / 0.5407 GB, free: 65.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.3605, allocations: 5.938 kB / 0.5407 GB, free: 65.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3605, allocations: 1.156 kB / 0.5407 GB, free: 65.8 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.3629, allocations: 2.455 MB / 0.5431 GB, free: 64.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.3631, allocations: 145.1 kB / 0.5432 GB, free: 64.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.3632, allocations: 15.67 kB / 0.5433 GB, free: 64.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000328/0.3635, allocations: 21.84 kB / 0.5433 GB, free: 64.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.037e-05/0.3636, allocations: 58.77 kB / 0.5433 GB, free: 64.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.3636, allocations: 15.91 kB / 0.5433 GB, free: 64.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.203e-05/0.3637, allocations: 97.28 kB / 0.5434 GB, free: 64.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 4e-08/0.3637, allocations: 0 / 0.5434 GB, free: 64.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001994/0.3657, allocations: 0.8887 MB / 0.5443 GB, free: 64.21 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.004798/0.3705, allocations: 4.221 MB / 0.5484 GB, free: 62.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.3722, allocations: 2.26 MB / 0.5506 GB, free: 60.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3722, allocations: 0 / 0.5506 GB, free: 60.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007731/0.373, allocations: 1.066 MB / 0.5517 GB, free: 59.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00152/0.3745, allocations: 342.7 kB / 0.552 GB, free: 59.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002238/0.3768, allocations: 2.121 MB / 0.5541 GB, free: 56.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001939/0.377, allocations: 0.8873 MB / 0.5549 GB, free: 55.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.3773, allocations: 252.7 kB / 0.5552 GB, free: 55.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.3776, allocations: 194.9 kB / 0.5554 GB, free: 55.54 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3776, allocations: 0 / 0.5554 GB, free: 55.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05802/0.4356, allocations: 44.9 MB / 0.5992 GB, free: 10.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.47, allocations: 15.48 kB / 0.5992 GB, free: 10.67 MB / 398.1 MB " [Timeout remaining time 646] (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: 15.829641374060884] Failed to read output from testmodel.py, exit status != 0: 13.65425512206275 13.672099395 13.514458903 Calling exit ...