Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.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.001143/0.001143, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001114/0.001114, allocations: 221.7 kB / 22.26 MB, free: 3.57 MB / 13.93 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.041/1.041, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] 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.04504/0.04504, allocations: 14.03 MB / 326.5 MB, free: 4.605 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.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.Validation.Derivatives.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 75.2 kB / 453.5 MB, free: 33.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1185, allocations: 55.96 MB / 0.4975 GB, free: 9.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.0117/0.1302, allocations: 11.88 MB / 0.5091 GB, free: 13.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006717/0.1369, allocations: 7.506 MB / 0.5164 GB, free: 6.203 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.538e-05/0.137, allocations: 0 / 0.5164 GB, free: 6.203 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1372, allocations: 39.73 kB / 0.5165 GB, free: 6.164 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004163/0.1413, allocations: 1.866 MB / 0.5183 GB, free: 4.301 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004624/0.146, allocations: 2.263 MB / 0.5205 GB, free: 2.039 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1461, allocations: 131.1 kB / 0.5206 GB, free: 1.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.825e-05/0.1462, allocations: 11.91 kB / 0.5206 GB, free: 1.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.351e-05/0.1462, allocations: 43.8 kB / 0.5207 GB, free: 1.855 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.1463, allocations: 47.78 kB / 0.5207 GB, free: 1.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1463, allocations: 4 kB / 0.5207 GB, free: 1.805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009412/0.1557, allocations: 6.622 MB / 0.5272 GB, free: 11.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.1558, allocations: 19.91 kB / 0.5272 GB, free: 11.16 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.1558, allocations: 43.75 kB / 0.5272 GB, free: 11.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005896/0.1617, allocations: 3.785 MB / 0.5309 GB, free: 7.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1617, allocations: 0 / 0.5309 GB, free: 7.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1617, allocations: 0 / 0.5309 GB, free: 7.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.577e-06/0.1618, allocations: 0 / 0.5309 GB, free: 7.32 MB / 394.7 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.001438/0.1632, allocations: 0.8303 MB / 0.5318 GB, free: 6.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.401e-05/0.1633, allocations: 12.03 kB / 0.5318 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/0.1633, allocations: 42.69 kB / 0.5318 GB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002514/0.1636, allocations: 48.78 kB / 0.5319 GB, free: 6.348 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1638, allocations: 146.4 kB / 0.532 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1638, allocations: 12.31 kB / 0.532 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.1638, allocations: 12 kB / 0.532 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.1644, allocations: 259.1 kB / 0.5323 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1644, allocations: 0 / 0.5323 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1644, allocations: 4 kB / 0.5323 GB, free: 5.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1644, allocations: 8 kB / 0.5323 GB, free: 5.879 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004398/0.1649, allocations: 211.8 kB / 0.5325 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.1656, allocations: 427.8 kB / 0.5329 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005917/0.1662, allocations: 245.1 kB / 0.5331 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.12e-05/0.1662, allocations: 45.7 kB / 0.5332 GB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3373/0.5036, allocations: 35.06 MB / 0.5674 GB, free: 53.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.5036, allocations: 34.56 kB / 0.5674 GB, free: 53.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.076e-06/0.5036, allocations: 4 kB / 0.5674 GB, free: 53.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.001072/0.5047, allocations: 375.7 kB / 0.5678 GB, free: 53.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.5047, allocations: 81.05 kB / 0.5679 GB, free: 53.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.5048, allocations: 130.2 kB / 0.568 GB, free: 52.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.5048, allocations: 25.7 kB / 0.568 GB, free: 52.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/0.5049, allocations: 107.5 kB / 0.5681 GB, free: 52.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.5049, allocations: 48.86 kB / 0.5682 GB, free: 52.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.505, allocations: 60.92 kB / 0.5682 GB, free: 52.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.661e-05/0.5051, allocations: 322.2 kB / 0.5685 GB, free: 52.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-05/0.5051, allocations: 59.09 kB / 0.5686 GB, free: 52.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.5052, allocations: 96.55 kB / 0.5687 GB, free: 52.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.5054, allocations: 144.6 kB / 0.5688 GB, free: 52.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5054, allocations: 1.531 kB / 0.5688 GB, free: 52.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003003/0.5057, allocations: 223.5 kB / 0.569 GB, free: 51.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5058, allocations: 4 kB / 0.569 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.5058, allocations: 2 kB / 0.569 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.5058, allocations: 4 kB / 0.569 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.5059, allocations: 51.95 kB / 0.5691 GB, free: 51.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.5059, allocations: 12 kB / 0.5691 GB, free: 51.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.506, allocations: 10.2 kB / 0.5691 GB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.506, allocations: 22.69 kB / 0.5691 GB, free: 51.89 MB / 410.7 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 7.625e-05/0.5061, allocations: 121.8 kB / 0.5693 GB, free: 51.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.435e-05/0.5061, allocations: 16.23 kB / 0.5693 GB, free: 51.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.5072, allocations: 2.241 MB / 0.5715 GB, free: 49.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5072, allocations: 11.98 kB / 0.5715 GB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.5072, allocations: 0 / 0.5715 GB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.5072, allocations: 0 / 0.5715 GB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.5077, allocations: 1.06 MB / 0.5725 GB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5077, allocations: 4 kB / 0.5725 GB, free: 48.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.5079, allocations: 39.89 kB / 0.5725 GB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.5079, allocations: 0 / 0.5725 GB, free: 48.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.5079, allocations: 8 kB / 0.5726 GB, free: 48.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.5079, allocations: 0.6875 kB / 0.5726 GB, free: 48.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5079, allocations: 0 / 0.5726 GB, free: 48.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004275/0.5083, allocations: 0.6582 MB / 0.5732 GB, free: 47.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.782e-05/0.5083, allocations: 20.84 kB / 0.5732 GB, free: 47.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.5083, allocations: 8 kB / 0.5732 GB, free: 47.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.5084, allocations: 0.875 kB / 0.5732 GB, free: 47.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.618e-05/0.5084, allocations: 15.55 kB / 0.5732 GB, free: 47.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.5084, allocations: 8 kB / 0.5732 GB, free: 47.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.528e-05/0.5085, allocations: 111.1 kB / 0.5734 GB, free: 47.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.5085, allocations: 0 / 0.5734 GB, free: 47.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001997/0.5105, allocations: 0.9295 MB / 0.5743 GB, free: 46.66 MB / 410.7 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.002849/0.5133, allocations: 2.184 MB / 0.5764 GB, free: 44.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.5136, allocations: 213 kB / 0.5766 GB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5136, allocations: 0 / 0.5766 GB, free: 44.35 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.5137, allocations: 133.3 kB / 0.5767 GB, free: 44.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.5141, allocations: 75.22 kB / 0.5768 GB, free: 44.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.5163, allocations: 2.625 MB / 0.5794 GB, free: 41.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.83e-05/0.5164, allocations: 129.1 kB / 0.5795 GB, free: 41.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.5166, allocations: 380.6 kB / 0.5798 GB, free: 40.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.5167, allocations: 71.39 kB / 0.5799 GB, free: 40.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5167, allocations: 0 / 0.5799 GB, free: 40.86 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1279/0.6447, allocations: 37.35 MB / 0.6164 GB, free: 3.656 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.66, allocations: 3.984 kB / 0.6164 GB, free: 3.652 MB / 410.7 MB " [Timeout remaining time 648] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 ../HelmholtzMedia_HelmholtzMedia_Validation_Derivatives_CheckDerivativesWater.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe 2>&1) [Timeout 52.5] (rm -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy_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_Validation_Derivatives_CheckDerivativesWater.fmu) > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.40884996112436]