Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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.001389/0.001389, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001677/0.001677, allocations: 215.1 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05454/0.05454, allocations: 9.136 MB / 321.6 MB, free: 10.23 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 67.91 kB / 446.5 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1094, allocations: 54.94 MB / 0.4897 GB, free: 9.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.0169/0.1263, allocations: 11.86 MB / 0.5013 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1364, allocations: 7.513 MB / 0.5086 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.593e-05/0.1365, allocations: 0 / 0.5086 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.1367, allocations: 43.75 kB / 0.5087 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00482/0.1415, allocations: 1.878 MB / 0.5105 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006065/0.1476, allocations: 2.256 MB / 0.5127 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.1478, allocations: 123.2 kB / 0.5128 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.1478, allocations: 4 kB / 0.5128 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.1479, allocations: 51.72 kB / 0.5129 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.597e-05/0.148, allocations: 43.84 kB / 0.5129 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.148, allocations: 4 kB / 0.5129 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.232/0.38, allocations: 6.619 MB / 0.5194 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.554e-05/0.38, allocations: 14.88 kB / 0.5194 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.3801, allocations: 40.3 kB / 0.5195 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01064/0.3907, allocations: 3.792 MB / 0.5232 GB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3908, allocations: 0 / 0.5232 GB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.3908, allocations: 0.8438 kB / 0.5232 GB, free: 9.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3908, allocations: 1.875 kB / 0.5232 GB, free: 9.727 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.004486/0.3953, allocations: 0.8266 MB / 0.524 GB, free: 9.215 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.3953, allocations: 8.625 kB / 0.524 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.3953, allocations: 46.48 kB / 0.524 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.3957, allocations: 47.47 kB / 0.5241 GB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.396, allocations: 147.1 kB / 0.5242 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.396, allocations: 8.25 kB / 0.5242 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.396, allocations: 15.36 kB / 0.5242 GB, free: 9.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/0.3969, allocations: 259.8 kB / 0.5245 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3969, allocations: 0 / 0.5245 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3969, allocations: 1.094 kB / 0.5245 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3969, allocations: 2.844 kB / 0.5245 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007312/0.3977, allocations: 219.5 kB / 0.5247 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006396/0.3983, allocations: 440.8 kB / 0.5251 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.3991, allocations: 226.8 kB / 0.5253 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.834e-05/0.3992, allocations: 57.83 kB / 0.5254 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1226/0.5218, allocations: 35.08 MB / 0.5596 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.5218, allocations: 35.8 kB / 0.5597 GB, free: 4.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.5218, allocations: 4 kB / 0.5597 GB, free: 4.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001646/0.5235, allocations: 370.9 kB / 0.56 GB, free: 4.598 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.5235, allocations: 81.11 kB / 0.5601 GB, free: 4.5 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.5237, allocations: 127 kB / 0.5602 GB, free: 4.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.5237, allocations: 28.2 kB / 0.5603 GB, free: 4.344 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.5238, allocations: 95.66 kB / 0.5603 GB, free: 4.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.5238, allocations: 57.39 kB / 0.5604 GB, free: 4.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.311e-05/0.5239, allocations: 58.67 kB / 0.5605 GB, free: 4.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.5241, allocations: 326.2 kB / 0.5608 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.5242, allocations: 55.09 kB / 0.5608 GB, free: 3.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.5244, allocations: 92.42 kB / 0.5609 GB, free: 3.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.5247, allocations: 148.6 kB / 0.561 GB, free: 3.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5247, allocations: 0 / 0.561 GB, free: 3.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004947/0.5252, allocations: 207.9 kB / 0.5612 GB, free: 3.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.5252, allocations: 11.98 kB / 0.5613 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5252, allocations: 4.625 kB / 0.5613 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.5252, allocations: 4.062 kB / 0.5613 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.5254, allocations: 60.58 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.5254, allocations: 0.5469 kB / 0.5613 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.5256, allocations: 11.89 kB / 0.5613 GB, free: 3.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.5256, allocations: 19.61 kB / 0.5614 GB, free: 3.363 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_h.phase,state_p.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001254/0.5257, allocations: 121.6 kB / 0.5615 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.598e-05/0.5258, allocations: 12.59 kB / 0.5615 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.528, allocations: 2.251 MB / 0.5637 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.528, allocations: 7.984 kB / 0.5637 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.528, allocations: 3 kB / 0.5637 GB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.528, allocations: 8 kB / 0.5637 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5291, allocations: 1.062 MB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.5291, allocations: 2.25 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.5293, allocations: 31.97 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.5293, allocations: 0 / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.5293, allocations: 11.92 kB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5293, allocations: 4 kB / 0.5648 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5293, allocations: 1.688 kB / 0.5648 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007754/0.5301, allocations: 0.6489 MB / 0.5654 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.5302, allocations: 23.88 kB / 0.5654 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.5302, allocations: 8 kB / 0.5654 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.5303, allocations: 8.516 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.944e-05/0.5304, allocations: 7.938 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.5304, allocations: 7.984 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.452e-05/0.5305, allocations: 102.2 kB / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5305, allocations: 0 / 0.5656 GB, free: 15.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004839/0.5353, allocations: 0.924 MB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.008904/0.5442, allocations: 2.2 MB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004881/0.5447, allocations: 207.7 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5447, allocations: 4 kB / 0.5688 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.5449, allocations: 123 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/0.5455, allocations: 70.61 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.5515, allocations: 2.635 MB / 0.5716 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.5516, allocations: 121.1 kB / 0.5717 GB, free: 9.586 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004716/0.5521, allocations: 383 kB / 0.5721 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.5522, allocations: 71.41 kB / 0.5721 GB, free: 9.156 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5522, allocations: 0 / 0.5721 GB, free: 9.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0809/0.6331, allocations: 37.34 MB / 0.6086 GB, free: 3.984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.29, allocations: 10.62 kB / 0.6086 GB, free: 3.98 MB / 446.1 MB " [Timeout remaining time 647] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.sim & python3 -m fmpy simulate --output-file HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 HelmholtzMedia_HelmholtzMedia_Examples_Validation_CheckDerivativesWater.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.02586797485128] Failed to read output from testmodel.py, exit status != 0: 13.423394319135696 13.439123901 13.044975608 Calling exit ...