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.001543/0.001543, allocations: 78.48 kB / 19.18 MB, free: 2.531 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.00167/0.00167, allocations: 169.3 kB / 22.46 MB, free: 5.359 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.369/1.369, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.04818/0.04818, allocations: 7.512 MB / 266.7 MB, free: 9.652 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: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 392.2 MB, free: 10.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.342e-05, allocations: 6.219 kB / 392.3 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.0164/0.01642, allocations: 11.84 MB / 404.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01016/0.02658, allocations: 7.505 MB / 411.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.525e-05/0.02663, allocations: 0 / 411.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002177/0.02685, allocations: 39.73 kB / 411.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00463/0.03148, allocations: 1.886 MB / 413.5 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00532/0.0368, allocations: 2.291 MB / 415.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.03698, allocations: 139 kB / 416 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.03702, allocations: 4 kB / 416 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.03711, allocations: 59.81 kB / 416 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.783e-05/0.0372, allocations: 35.91 kB / 416.1 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.03721, allocations: 8 kB / 416.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.04874, allocations: 6.649 MB / 422.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.04877, allocations: 7.922 kB / 422.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.04883, allocations: 43.92 kB / 422.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007686/0.05651, allocations: 4.88 MB / 427.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.05652, allocations: 0 / 427.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.05652, allocations: 0 / 427.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.05652, allocations: 0 / 427.6 MB, free: 6.879 MB / 350.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.002275/0.0588, allocations: 0.8302 MB / 428.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.05883, allocations: 12.62 kB / 428.5 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003642/0.0592, allocations: 44.84 kB / 428.5 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.05944, allocations: 153.6 kB / 428.7 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.05945, allocations: 20.48 kB / 428.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.05948, allocations: 4.375 kB / 428.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008958/0.06038, allocations: 264.1 kB / 429 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.06039, allocations: 0 / 429 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.0604, allocations: 8 kB / 429 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.06041, allocations: 0 / 429 MB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008056/0.06121, allocations: 215.7 kB / 429.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.06184, allocations: 404.3 kB / 429.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008953/0.06273, allocations: 229 kB / 429.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.726e-05/0.06282, allocations: 53.75 kB / 429.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2702/0.333, allocations: 35.06 MB / 464.9 MB, free: 62.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.333, allocations: 34.56 kB / 464.9 MB, free: 62.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.435e-06/0.333, allocations: 1.594 kB / 464.9 MB, free: 62.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001601/0.3346, allocations: 375.4 kB / 465.3 MB, free: 62.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.3346, allocations: 77.11 kB / 465.4 MB, free: 62.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.262e-05/0.3347, allocations: 126 kB / 465.5 MB, free: 62.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.3347, allocations: 33.7 kB / 465.5 MB, free: 62.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.3348, allocations: 100.7 kB / 465.6 MB, free: 62.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.267e-05/0.3348, allocations: 55.12 kB / 465.7 MB, free: 62.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.3349, allocations: 65.62 kB / 465.8 MB, free: 62.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.439e-05/0.3349, allocations: 314.8 kB / 466.1 MB, free: 61.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.3351, allocations: 59.95 kB / 466.1 MB, free: 61.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.3352, allocations: 93.33 kB / 466.2 MB, free: 61.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.3355, allocations: 140.7 kB / 466.3 MB, free: 61.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3355, allocations: 0 / 466.3 MB, free: 61.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004277/0.3359, allocations: 217.1 kB / 466.6 MB, free: 61.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3359, allocations: 12.06 kB / 466.6 MB, free: 61.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3359, allocations: 0 / 466.6 MB, free: 61.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3359, allocations: 4 kB / 466.6 MB, free: 61.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.3361, allocations: 55.89 kB / 466.6 MB, free: 61.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3361, allocations: 7.75 kB / 466.6 MB, free: 61.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.3362, allocations: 10.2 kB / 466.6 MB, free: 61.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.3363, allocations: 15.98 kB / 466.7 MB, free: 61.14 MB / 366.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 8.418e-05/0.3364, allocations: 124 kB / 466.8 MB, free: 61.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-05/0.3364, allocations: 11.94 kB / 466.8 MB, free: 61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.3378, allocations: 2.242 MB / 469 MB, free: 58.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.3378, allocations: 11.81 kB / 469 MB, free: 58.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3378, allocations: 9.062 kB / 469.1 MB, free: 58.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3378, allocations: 0 / 469.1 MB, free: 58.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006319/0.3385, allocations: 1.031 MB / 470.1 MB, free: 57.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3385, allocations: 0 / 470.1 MB, free: 57.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.3387, allocations: 31.97 kB / 470.1 MB, free: 57.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3387, allocations: 3.094 kB / 470.1 MB, free: 57.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.3387, allocations: 8.828 kB / 470.1 MB, free: 57.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3387, allocations: 0 / 470.1 MB, free: 57.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3387, allocations: 0 / 470.1 MB, free: 57.61 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.3392, allocations: 0.6638 MB / 470.8 MB, free: 56.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.3393, allocations: 22.69 kB / 470.8 MB, free: 56.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.3393, allocations: 0 / 470.8 MB, free: 56.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.3394, allocations: 11.25 kB / 470.8 MB, free: 56.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.3395, allocations: 7.984 kB / 470.8 MB, free: 56.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3395, allocations: 7.984 kB / 470.8 MB, free: 56.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.755e-05/0.3395, allocations: 99.27 kB / 470.9 MB, free: 56.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3395, allocations: 0 / 470.9 MB, free: 56.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001814/0.3413, allocations: 0.9219 MB / 471.9 MB, free: 55.97 MB / 366.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.003671/0.345, allocations: 1.238 MB / 473.1 MB, free: 54.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003414/0.3454, allocations: 221.6 kB / 473.3 MB, free: 54.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3454, allocations: 0 / 473.3 MB, free: 54.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3455, allocations: 127.9 kB / 473.4 MB, free: 54.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005575/0.3461, allocations: 66.28 kB / 473.5 MB, free: 54.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007373/0.3468, allocations: 0.5184 MB / 474 MB, free: 53.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.419e-05/0.3469, allocations: 128.6 kB / 474.2 MB, free: 53.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003128/0.3472, allocations: 373.3 kB / 474.5 MB, free: 53.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.3473, allocations: 32.48 kB / 474.5 MB, free: 53.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3473, allocations: 0 / 474.5 MB, free: 53.36 MB / 366.1 MB Notification: Performance of Templates: time 0.03147/0.3788, allocations: 33.85 MB / 0.4965 GB, free: 19.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.213567640632391] Failed to read output from testmodel.py, exit status != 0: 0.3863482065498829 0.39465840799999996 0.33605081099999995 Calling exit ...