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.00153/0.00153, allocations: 116.8 kB / 17.17 MB, free: 6 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.001585/0.001585, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.335/1.335, allocations: 207.6 MB / 230.5 MB, free: 4.023 MB / 174.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.04787/0.04787, allocations: 9.146 MB / 291.5 MB, free: 7.172 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.002079/0.002079, allocations: 67.91 kB / 406.6 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2285, allocations: 50.72 MB / 457.3 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02045/0.2489, allocations: 19.85 MB / 477.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.266, allocations: 17.17 MB / 494.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000431/0.2664, allocations: 0 / 494.4 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.2679, allocations: 0.6382 MB / 495 MB, free: 2.082 MB / 350.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.01294/0.2808, allocations: 5.549 MB / 0.4888 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002614/0.2835, allocations: 1.084 MB / 0.4899 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009769/0.2844, allocations: 0.7979 MB / 0.4907 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.2845, allocations: 25.78 kB / 0.4907 GB, free: 10.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.2849, allocations: 346.7 kB / 0.491 GB, free: 10.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.2853, allocations: 298.7 kB / 0.4913 GB, free: 9.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.2853, allocations: 28 kB / 0.4913 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01565/0.301, allocations: 9.611 MB / 0.5007 GB, free: 312 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3011, allocations: 91.53 kB / 0.5008 GB, free: 220 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.3015, allocations: 274.6 kB / 0.5011 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009002/0.3105, allocations: 4.118 MB / 0.5051 GB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3105, allocations: 0 / 0.5051 GB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3105, allocations: 0 / 0.5051 GB, free: 11.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.446e-06/0.3105, allocations: 0 / 0.5051 GB, free: 11.82 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.002367/0.3128, allocations: 1.232 MB / 0.5063 GB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3129, allocations: 16.03 kB / 0.5063 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.877e-05/0.3129, allocations: 16.5 kB / 0.5063 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.725e-05/0.313, allocations: 102.5 kB / 0.5064 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004319/0.3134, allocations: 95.56 kB / 0.5065 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.3136, allocations: 226.3 kB / 0.5067 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.751e-05/0.3137, allocations: 24.56 kB / 0.5067 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/0.3137, allocations: 28 kB / 0.5068 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.3152, allocations: 1.251 MB / 0.508 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3152, allocations: 3.938 kB / 0.508 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.3153, allocations: 12 kB / 0.508 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.3153, allocations: 31.94 kB / 0.508 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.3178, allocations: 2.307 MB / 0.5103 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.3202, allocations: 2.163 MB / 0.5124 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.3217, allocations: 1.123 MB / 0.5135 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001118/0.3228, allocations: 1.048 MB / 0.5145 GB, free: 1.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02124/0.344, allocations: 11.22 MB / 0.5255 GB, free: 4.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/0.3441, allocations: 35.12 kB / 0.5255 GB, free: 4.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 2.926e-06/0.3441, allocations: 0 / 0.5255 GB, free: 4.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.004339/0.3484, allocations: 3.608 MB / 0.529 GB, free: 1.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3485, allocations: 55.97 kB / 0.5291 GB, free: 1.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.3486, allocations: 125.7 kB / 0.5292 GB, free: 1.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.3486, allocations: 33.7 kB / 0.5292 GB, free: 1.055 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.3487, allocations: 91.02 kB / 0.5293 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/0.3491, allocations: 0.6116 MB / 0.5299 GB, free: 352 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.3493, allocations: 150.2 kB / 0.5301 GB, free: 196 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3494, allocations: 306 kB / 0.5304 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/0.3505, allocations: 1.022 MB / 0.5314 GB, free: 14.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.3517, allocations: 1.039 MB / 0.5324 GB, free: 13.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.3541, allocations: 2.225 MB / 0.5345 GB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3541, allocations: 0 / 0.5345 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.002813/0.3569, allocations: 2.344 MB / 0.5368 GB, free: 9.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3569, allocations: 4 kB / 0.5368 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.357, allocations: 0 / 0.5368 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.357, allocations: 4 kB / 0.5368 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/0.3575, allocations: 115.8 kB / 0.537 GB, free: 9.129 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3575, allocations: 4 kB / 0.537 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.3579, allocations: 91.19 kB / 0.537 GB, free: 9.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.3579, allocations: 23.97 kB / 0.5371 GB, free: 9.012 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.0002071/0.3582, allocations: 169.8 kB / 0.5372 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.3583, allocations: 55.58 kB / 0.5373 GB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/0.3615, allocations: 2.636 MB / 0.5399 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-05/0.3615, allocations: 23.97 kB / 0.5399 GB, free: 6.102 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3615, allocations: 3.984 kB / 0.5399 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3615, allocations: 7.922 kB / 0.5399 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.3627, allocations: 1.179 MB / 0.541 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3627, allocations: 0 / 0.541 GB, free: 4.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/0.3633, allocations: 139.8 kB / 0.5412 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3633, allocations: 4 kB / 0.5412 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.863e-05/0.3633, allocations: 16 kB / 0.5412 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3633, allocations: 4 kB / 0.5412 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3633, allocations: 7.984 kB / 0.5412 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/0.366, allocations: 2.337 MB / 0.5435 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.3662, allocations: 220.1 kB / 0.5437 GB, free: 2.105 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.3663, allocations: 19.94 kB / 0.5437 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.3666, allocations: 27.98 kB / 0.5437 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.3667, allocations: 56.86 kB / 0.5438 GB, free: 2.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.3668, allocations: 16 kB / 0.5438 GB, free: 1.988 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.3668, allocations: 91.27 kB / 0.5439 GB, free: 1.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3668, allocations: 0 / 0.5439 GB, free: 1.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002142/0.369, allocations: 0.892 MB / 0.5448 GB, free: 1.004 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.0063/0.3753, allocations: 4.109 MB / 0.5488 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002523/0.3778, allocations: 2.134 MB / 0.5509 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3778, allocations: 0 / 0.5509 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.3789, allocations: 1.01 MB / 0.5519 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/0.3806, allocations: 355.6 kB / 0.5522 GB, free: 9.367 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.3838, allocations: 2.044 MB / 0.5542 GB, free: 7.273 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.3842, allocations: 0.8935 MB / 0.5551 GB, free: 6.348 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004821/0.3847, allocations: 246.7 kB / 0.5553 GB, free: 6.109 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003099/0.385, allocations: 199.3 kB / 0.5555 GB, free: 5.914 MB / 430.1 MB Notification: Performance of SimCode: time 8.71e-07/0.385, allocations: 0 / 0.5555 GB, free: 5.914 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07321/0.4582, allocations: 43.5 MB / 0.598 GB, free: 10.46 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/10.71, allocations: 16 kB / 0.598 GB, free: 10.45 MB / 478.1 MB " [Timeout remaining time 649] (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: 13.122968731971923] Failed to read output from testmodel.py, exit status != 0: 10.855256803974044 11.021208496 10.707986032 Calling exit ...