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.001951/0.001951, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002149/0.002149, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.689/1.689, allocations: 177.1 MB / 203.1 MB, free: 5.273 MB / 186.7 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.05962/0.05962, allocations: 7.507 MB / 267.1 MB, free: 5.914 MB / 250.7 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 2.544e-06/2.544e-06, allocations: 0 / 337.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.197e-05/4.451e-05, allocations: 2.312 kB / 337.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01424/0.01429, allocations: 12.88 MB / 350.8 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01377/0.02806, allocations: 8.335 MB / 359.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.02819, allocations: 4 kB / 359.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.02845, allocations: 35.73 kB / 359.2 MB, free: 6 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006318/0.03477, allocations: 1.892 MB / 361.1 MB, free: 4.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008411/0.04318, allocations: 2.284 MB / 363.4 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.04346, allocations: 142.9 kB / 363.5 MB, free: 1.668 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.04351, allocations: 8 kB / 363.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.04363, allocations: 55.89 kB / 363.6 MB, free: 1.605 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.04375, allocations: 39.89 kB / 363.6 MB, free: 1.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.04377, allocations: 4 kB / 363.6 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01651/0.06028, allocations: 6.645 MB / 370.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.976e-05/0.06033, allocations: 15.88 kB / 370.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.06046, allocations: 35.91 kB / 370.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.07517, allocations: 4.888 MB / 375.2 MB, free: 5.961 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/0.07518, allocations: 4 kB / 375.2 MB, free: 5.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.07518, allocations: 0 / 375.2 MB, free: 5.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.07519, allocations: 0 / 375.2 MB, free: 5.957 MB / 298.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.003419/0.07861, allocations: 0.922 MB / 376.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.07866, allocations: 12.62 kB / 376.1 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004371/0.0791, allocations: 64.78 kB / 376.2 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.07936, allocations: 152.4 kB / 376.3 MB, free: 4.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.07938, allocations: 8.562 kB / 376.4 MB, free: 4.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.231e-05/0.07941, allocations: 12.38 kB / 376.4 MB, free: 4.727 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001015/0.08043, allocations: 313 kB / 376.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.08044, allocations: 0 / 376.7 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.08046, allocations: 4 kB / 376.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.08047, allocations: 4 kB / 376.7 MB, free: 4.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.08137, allocations: 251.8 kB / 376.9 MB, free: 4.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009705/0.08234, allocations: 0.5022 MB / 377.4 MB, free: 3.609 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009994/0.08334, allocations: 258 kB / 377.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.08345, allocations: 55.39 kB / 377.7 MB, free: 3.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.138/0.2215, allocations: 35.06 MB / 412.8 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.249e-05/0.2215, allocations: 37.39 kB / 412.8 MB, free: 116 kB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.265e-06/0.2215, allocations: 7.938 kB / 412.8 MB, free: 108 kB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.1991/0.4206, allocations: 400.5 kB / 413.2 MB, free: 84.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.4207, allocations: 80.34 kB / 413.3 MB, free: 84.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.4208, allocations: 192.5 kB / 413.5 MB, free: 84.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.4209, allocations: 27.2 kB / 413.5 MB, free: 84.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.4209, allocations: 140.7 kB / 413.7 MB, free: 84.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.421, allocations: 54.59 kB / 413.7 MB, free: 84.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.4211, allocations: 65.36 kB / 413.8 MB, free: 84.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4212, allocations: 0.4942 MB / 414.3 MB, free: 83.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.4214, allocations: 64.08 kB / 414.3 MB, free: 83.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/0.4216, allocations: 104.9 kB / 414.4 MB, free: 83.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.4219, allocations: 172.5 kB / 414.6 MB, free: 83.7 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.4219, allocations: 0 / 414.6 MB, free: 83.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005825/0.4225, allocations: 240.3 kB / 414.8 MB, free: 83.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4225, allocations: 6.062 kB / 414.8 MB, free: 83.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4226, allocations: 1.25 kB / 414.8 MB, free: 83.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.4226, allocations: 2.125 kB / 414.8 MB, free: 83.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.4228, allocations: 60.78 kB / 414.9 MB, free: 83.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.4228, allocations: 2.438 kB / 414.9 MB, free: 83.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.423, allocations: 10.22 kB / 414.9 MB, free: 83.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.423, allocations: 22.84 kB / 414.9 MB, free: 83.64 MB / 330.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 0.0001031/0.4231, allocations: 174.8 kB / 415.1 MB, free: 83.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.4232, allocations: 15.45 kB / 415.1 MB, free: 83.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.4246, allocations: 1.324 MB / 416.4 MB, free: 83.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.4246, allocations: 7.797 kB / 416.5 MB, free: 83.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4246, allocations: 0 / 416.5 MB, free: 83.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4246, allocations: 1.281 kB / 416.5 MB, free: 83.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005028/0.4251, allocations: 0.5645 MB / 417 MB, free: 82.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4251, allocations: 1.375 kB / 417 MB, free: 82.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.4254, allocations: 34.59 kB / 417.1 MB, free: 82.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.4254, allocations: 5.312 kB / 417.1 MB, free: 82.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.4254, allocations: 8.875 kB / 417.1 MB, free: 82.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.4254, allocations: 3.062 kB / 417.1 MB, free: 82.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4254, allocations: 1.375 kB / 417.1 MB, free: 82.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006657/0.4261, allocations: 0.6437 MB / 417.7 MB, free: 82.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.4261, allocations: 25.48 kB / 417.7 MB, free: 82.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.4261, allocations: 15.48 kB / 417.8 MB, free: 82.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.4263, allocations: 1.375 kB / 417.8 MB, free: 82.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.4263, allocations: 7.828 kB / 417.8 MB, free: 82.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.285e-05/0.4264, allocations: 9.312 kB / 417.8 MB, free: 82.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.406e-05/0.4264, allocations: 138.8 kB / 417.9 MB, free: 82.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4264, allocations: 0 / 417.9 MB, free: 82.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003526/0.4299, allocations: 0.9235 MB / 418.8 MB, free: 82.22 MB / 330.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.004631/0.4346, allocations: 1.253 MB / 420.1 MB, free: 82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.4351, allocations: 197.4 kB / 420.3 MB, free: 81.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4351, allocations: 0 / 420.3 MB, free: 81.95 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.4353, allocations: 115.2 kB / 420.4 MB, free: 81.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006757/0.4359, allocations: 59.47 kB / 420.5 MB, free: 81.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009467/0.4369, allocations: 0.5155 MB / 421 MB, free: 81.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.437, allocations: 127.9 kB / 421.1 MB, free: 81.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005947/0.4376, allocations: 381.7 kB / 421.5 MB, free: 81.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4377, allocations: 33.84 kB / 421.5 MB, free: 81.46 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.4377, allocations: 0 / 421.5 MB, free: 81.46 MB / 330.7 MB Notification: Performance of Templates: time 0.0386/0.4763, allocations: 34.69 MB / 456.2 MB, free: 47.37 MB / 330.7 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.793160950997844]