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.001244/0.001244, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00138/0.00138, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.334/1.334, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.04932/0.04932, allocations: 9.154 MB / 295.3 MB, free: 12.52 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.002059/0.002059, allocations: 66.75 kB / 411.9 MB, free: 46.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07684/0.07889, allocations: 50.76 MB / 462.6 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.Derivatives_SaturationBoundary): time 0.02047/0.09936, allocations: 17.84 MB / 480.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01607/0.1154, allocations: 15.17 MB / 495.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003939/0.1158, allocations: 0 / 495.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.1173, allocations: 0.5057 MB / 496.2 MB, free: 10.85 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.0133/0.1306, allocations: 5.591 MB / 0.49 GB, free: 5.246 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.1338, allocations: 1.081 MB / 0.491 GB, free: 4.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.1351, allocations: 0.7941 MB / 0.4918 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1352, allocations: 29.97 kB / 0.4918 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004897/0.1357, allocations: 350.6 kB / 0.4922 GB, free: 2.984 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.1361, allocations: 302.7 kB / 0.4925 GB, free: 2.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.345e-05/0.1361, allocations: 28 kB / 0.4925 GB, free: 2.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01327/0.1494, allocations: 6.834 MB / 0.4992 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.1495, allocations: 91.53 kB / 0.4993 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003624/0.1499, allocations: 230.8 kB / 0.4995 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008766/0.1587, allocations: 3.502 MB / 0.5029 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1587, allocations: 4 kB / 0.5029 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1587, allocations: 0 / 0.5029 GB, free: 7.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1587, allocations: 0 / 0.5029 GB, free: 7.98 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.002556/0.1612, allocations: 1.152 MB / 0.504 GB, free: 6.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1613, allocations: 15.98 kB / 0.504 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.182e-05/0.1613, allocations: 12.59 kB / 0.504 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.1614, allocations: 102.5 kB / 0.5041 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004687/0.1619, allocations: 95.56 kB / 0.5042 GB, free: 6.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.162, allocations: 168.5 kB / 0.5044 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.1621, allocations: 16.66 kB / 0.5044 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-05/0.1621, allocations: 28 kB / 0.5044 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.1637, allocations: 1.33 MB / 0.5057 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1637, allocations: 3.938 kB / 0.5057 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.1638, allocations: 12 kB / 0.5058 GB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/0.1638, allocations: 27.89 kB / 0.5058 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002668/0.1664, allocations: 2.448 MB / 0.5082 GB, free: 2.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002451/0.1689, allocations: 2.167 MB / 0.5103 GB, free: 296 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.1704, allocations: 1.182 MB / 0.5114 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.1716, allocations: 1.114 MB / 0.5125 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0181/0.1897, allocations: 3.919 MB / 0.5164 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.1897, allocations: 47.16 kB / 0.5164 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=185): time 2.986e-06/0.1897, allocations: 0 / 0.5164 GB, free: 10 MB / 398.1 MB Notification: Performance of matching and sorting (n=185): time 0.004754/0.1945, allocations: 3.801 MB / 0.5201 GB, free: 6.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.039e-05/0.1946, allocations: 60.06 kB / 0.5202 GB, free: 6.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1947, allocations: 125.7 kB / 0.5203 GB, free: 5.992 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.1947, allocations: 37.7 kB / 0.5203 GB, free: 5.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.1948, allocations: 83.08 kB / 0.5204 GB, free: 5.863 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004474/0.1952, allocations: 0.6039 MB / 0.521 GB, free: 5.254 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.1954, allocations: 158.2 kB / 0.5211 GB, free: 5.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1956, allocations: 310 kB / 0.5214 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.1968, allocations: 1.084 MB / 0.5225 GB, free: 3.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.198, allocations: 1.102 MB / 0.5236 GB, free: 2.598 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/0.2006, allocations: 2.367 MB / 0.5259 GB, free: 232 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2006, allocations: 0 / 0.5259 GB, free: 232 kB / 398.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.1867/0.3873, allocations: 2.465 MB / 0.5283 GB, free: 72.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.3873, allocations: 5.219 kB / 0.5283 GB, free: 72.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3873, allocations: 0 / 0.5283 GB, free: 72.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.3874, allocations: 3.234 kB / 0.5283 GB, free: 72.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.388, allocations: 123.9 kB / 0.5284 GB, free: 72.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.388, allocations: 2.219 kB / 0.5284 GB, free: 72.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003404/0.3883, allocations: 93.77 kB / 0.5285 GB, free: 72.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.3884, allocations: 21.45 kB / 0.5285 GB, free: 72.52 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.0001798/0.3885, allocations: 167.1 kB / 0.5287 GB, free: 72.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.3887, allocations: 52.69 kB / 0.5287 GB, free: 72.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.3917, allocations: 2.786 MB / 0.5315 GB, free: 71.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/0.3917, allocations: 25.69 kB / 0.5315 GB, free: 71.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.3917, allocations: 3.062 kB / 0.5315 GB, free: 71.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.3917, allocations: 14.03 kB / 0.5315 GB, free: 71.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009892/0.3927, allocations: 1.127 MB / 0.5326 GB, free: 70.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.3927, allocations: 2.031 kB / 0.5326 GB, free: 70.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/0.3934, allocations: 137.2 kB / 0.5327 GB, free: 70.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.3934, allocations: 2.75 kB / 0.5327 GB, free: 70.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/0.3934, allocations: 19.19 kB / 0.5328 GB, free: 70.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3934, allocations: 4.156 kB / 0.5328 GB, free: 70.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.3934, allocations: 0 / 0.5328 GB, free: 70.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.3959, allocations: 2.448 MB / 0.5352 GB, free: 69.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.3962, allocations: 148.8 kB / 0.5353 GB, free: 69.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.3962, allocations: 15.25 kB / 0.5353 GB, free: 69.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.3966, allocations: 23.22 kB / 0.5353 GB, free: 69.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.3967, allocations: 49.72 kB / 0.5354 GB, free: 69.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.825e-05/0.3968, allocations: 29.36 kB / 0.5354 GB, free: 69.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.743e-05/0.3968, allocations: 85.23 kB / 0.5355 GB, free: 69.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3968, allocations: 0 / 0.5355 GB, free: 69.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002383/0.3992, allocations: 0.893 MB / 0.5364 GB, free: 68.97 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.005956/0.4051, allocations: 4.228 MB / 0.5405 GB, free: 67.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.4075, allocations: 2.252 MB / 0.5427 GB, free: 66.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4075, allocations: 0 / 0.5427 GB, free: 66.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009113/0.4084, allocations: 1.065 MB / 0.5437 GB, free: 65.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.4099, allocations: 354.2 kB / 0.5441 GB, free: 65.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.4125, allocations: 2.125 MB / 0.5461 GB, free: 63.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.4126, allocations: 290 kB / 0.5464 GB, free: 63.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004345/0.4131, allocations: 255.1 kB / 0.5467 GB, free: 63.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/0.4133, allocations: 194.4 kB / 0.5468 GB, free: 63.28 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.4133, allocations: 0 / 0.5468 GB, free: 63.28 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06465/0.478, allocations: 45.8 MB / 0.5916 GB, free: 17.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.86, allocations: 12 kB / 0.5916 GB, free: 17.63 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: 16.337824399000965] Failed to read output from testmodel.py, exit status != 0: 14.046279776026495 14.056870897 13.895821693 Calling exit ...