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.002549/0.002549, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.002933/0.002933, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.676/1.676, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.09133/0.09133, allocations: 11.36 MB / 270.5 MB, free: 2.574 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: translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater") translateModel(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 398.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.998e-05/4.256e-05, allocations: 2.281 kB / 398.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.02407/0.02411, allocations: 11.85 MB / 410 MB, free: 2.836 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3504/0.3745, allocations: 7.503 MB / 417.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.3748, allocations: 0 / 417.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.3752, allocations: 39.42 kB / 417.5 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009399/0.3846, allocations: 1.893 MB / 419.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01088/0.3955, allocations: 2.285 MB / 421.7 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.3958, allocations: 141.4 kB / 421.8 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.513e-05/0.3958, allocations: 3.938 kB / 421.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.396, allocations: 64.97 kB / 421.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3961, allocations: 35.81 kB / 422 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.125e-05/0.3961, allocations: 3.094 kB / 422 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01957/0.4157, allocations: 6.651 MB / 428.6 MB, free: 13.4 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.4157, allocations: 10.69 kB / 428.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.4159, allocations: 39.17 kB / 428.7 MB, free: 13.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01721/0.4331, allocations: 4.882 MB / 433.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.4331, allocations: 0 / 433.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.4331, allocations: 1.375 kB / 433.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.4331, allocations: 3.938 kB / 433.5 MB, free: 10.18 MB / 330.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.004975/0.4381, allocations: 0.8258 MB / 434.4 MB, free: 9.574 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.26e-05/0.4382, allocations: 9.719 kB / 434.4 MB, free: 9.574 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005106/0.4387, allocations: 50.27 kB / 434.4 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.439, allocations: 142.6 kB / 434.6 MB, free: 9.402 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.4391, allocations: 9.438 kB / 434.6 MB, free: 9.398 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.537e-05/0.4391, allocations: 15.8 kB / 434.6 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.4402, allocations: 264.7 kB / 434.8 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.4402, allocations: 1.188 kB / 434.8 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.4402, allocations: 5.156 kB / 434.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.4403, allocations: 2.219 kB / 434.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009226/0.4412, allocations: 218.4 kB / 435.1 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/0.4422, allocations: 401.4 kB / 435.5 MB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.4432, allocations: 234.2 kB / 435.7 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.4433, allocations: 54.75 kB / 435.7 MB, free: 8.547 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1327/0.576, allocations: 35.07 MB / 470.8 MB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/0.5761, allocations: 34.56 kB / 470.8 MB, free: 8.293 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.036e-06/0.5761, allocations: 0 / 470.8 MB, free: 8.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001916/0.578, allocations: 372.5 kB / 471.2 MB, free: 7.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/0.5781, allocations: 81.05 kB / 471.3 MB, free: 7.828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.5783, allocations: 121.8 kB / 471.4 MB, free: 7.699 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.5783, allocations: 37.64 kB / 471.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.357e-05/0.5784, allocations: 104 kB / 471.5 MB, free: 7.551 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.862e-05/0.5785, allocations: 43.55 kB / 471.6 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.5786, allocations: 61.67 kB / 471.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.5788, allocations: 322.8 kB / 472 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.579, allocations: 63.95 kB / 472 MB, free: 7.055 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001964/0.5792, allocations: 85.59 kB / 472.1 MB, free: 6.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003711/0.5796, allocations: 150.5 kB / 472.3 MB, free: 6.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5796, allocations: 0 / 472.3 MB, free: 6.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000588/0.5801, allocations: 213 kB / 472.5 MB, free: 6.594 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.5802, allocations: 8 kB / 472.5 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5802, allocations: 80 / 472.5 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/0.5802, allocations: 4 kB / 472.5 MB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.5805, allocations: 61.47 kB / 472.5 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.5805, allocations: 7.984 kB / 472.5 MB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001443/0.5806, allocations: 11.89 kB / 472.6 MB, free: 6.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.5806, allocations: 20.05 kB / 472.6 MB, free: 6.488 MB / 362.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.0001586/0.5808, allocations: 121.8 kB / 472.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.5809, allocations: 7.953 kB / 472.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002869/0.5838, allocations: 2.244 MB / 474.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.5838, allocations: 7.984 kB / 475 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.5838, allocations: 4 kB / 475 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5838, allocations: 0 / 475 MB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.5851, allocations: 1.025 MB / 476 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5851, allocations: 0 / 476 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.5854, allocations: 35.91 kB / 476 MB, free: 2.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5854, allocations: 4 kB / 476 MB, free: 2.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.5854, allocations: 4 kB / 476 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.5854, allocations: 6.203 kB / 476 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.5854, allocations: 3.984 kB / 476 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009599/0.5864, allocations: 0.6624 MB / 476.7 MB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.5864, allocations: 23.81 kB / 476.7 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.5864, allocations: 4 kB / 476.7 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.5866, allocations: 4 kB / 476.7 MB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.5866, allocations: 11.98 kB / 476.7 MB, free: 2.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.5867, allocations: 7.938 kB / 476.7 MB, free: 2.219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.5868, allocations: 105.1 kB / 476.9 MB, free: 2.117 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5868, allocations: 0 / 476.9 MB, free: 2.117 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.005141/0.5919, allocations: 0.9278 MB / 477.8 MB, free: 1.188 MB / 362.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.008063/0.6, allocations: 1.244 MB / 479 MB, free: 32 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006073/0.6006, allocations: 204 kB / 479.2 MB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/0.6006, allocations: 11.94 kB / 479.2 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002531/0.6008, allocations: 125.8 kB / 479.4 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006967/0.6015, allocations: 56.55 kB / 479.4 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.6028, allocations: 0.5203 MB / 479.9 MB, free: 15.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.6029, allocations: 121.1 kB / 480 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005866/0.6035, allocations: 376.3 kB / 480.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.6036, allocations: 32.48 kB / 480.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of SimCode: time 8.52e-07/0.6036, allocations: 0 / 480.4 MB, free: 14.56 MB / 378.7 MB Notification: Performance of Templates: time 0.06552/0.6692, allocations: 33.84 MB / 0.5022 GB, free: 12.76 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.makefile [Timeout 660] (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 & ./HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.56103432085365]