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.001299/0.001299, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001518/0.001518, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.052/1.052, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.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.04569/0.04569, allocations: 7.522 MB / 268.6 MB, free: 5.84 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 1.503e-06/1.503e-06, allocations: 0 / 339.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.796e-05, allocations: 2.312 kB / 339.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01442/0.01444, allocations: 12.81 MB / 352.7 MB, free: 13.83 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008951/0.02339, allocations: 8.206 MB / 360.9 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.02348, allocations: 0 / 360.9 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.02367, allocations: 39.75 kB / 361 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.02706, allocations: 1.899 MB / 362.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.03098, allocations: 2.288 MB / 365.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.0311, allocations: 135 kB / 365.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.03115, allocations: 11.92 kB / 365.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.833e-05/0.03122, allocations: 63.81 kB / 365.3 MB, free: 1.145 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.03128, allocations: 35.84 kB / 365.4 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.03129, allocations: 8 kB / 365.4 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007422/0.03872, allocations: 6.645 MB / 372 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.03873, allocations: 15.92 kB / 372.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.03878, allocations: 35.92 kB / 372.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00537/0.04415, allocations: 4.884 MB / 377 MB, free: 5.504 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.04416, allocations: 0 / 377 MB, free: 5.504 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.04416, allocations: 0 / 377 MB, free: 5.504 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.04416, allocations: 0 / 377 MB, free: 5.504 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.001228/0.04539, allocations: 0.9339 MB / 377.9 MB, free: 4.531 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.04542, allocations: 12.62 kB / 377.9 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.04564, allocations: 60.78 kB / 378 MB, free: 4.461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.04576, allocations: 140.4 kB / 378.1 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.04577, allocations: 8.562 kB / 378.1 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.04578, allocations: 16.38 kB / 378.1 MB, free: 4.273 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004996/0.04628, allocations: 320.8 kB / 378.4 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.04629, allocations: 0 / 378.4 MB, free: 3.949 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.0463, allocations: 4 kB / 378.5 MB, free: 3.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.04631, allocations: 4 kB / 378.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.04666, allocations: 203.8 kB / 378.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.04706, allocations: 486.8 kB / 379.1 MB, free: 3.234 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.04749, allocations: 262 kB / 379.4 MB, free: 2.953 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.04753, allocations: 47.36 kB / 379.4 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07022/0.1178, allocations: 30.66 MB / 410.1 MB, free: 4.199 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.206e-05/0.1178, allocations: 33.39 kB / 410.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.855e-06/0.1178, allocations: 0 / 410.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001482/0.1193, allocations: 393 kB / 410.5 MB, free: 3.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.1193, allocations: 81.11 kB / 410.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1194, allocations: 177.9 kB / 410.8 MB, free: 3.477 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.1195, allocations: 29.7 kB / 410.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.1195, allocations: 154.6 kB / 410.9 MB, free: 3.285 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.673e-05/0.1196, allocations: 55.58 kB / 411 MB, free: 3.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1197, allocations: 63.31 kB / 411.1 MB, free: 3.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1198, allocations: 0.4961 MB / 411.6 MB, free: 2.652 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1199, allocations: 51.95 kB / 411.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.1201, allocations: 106.6 kB / 411.7 MB, free: 2.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.1203, allocations: 162.5 kB / 411.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1203, allocations: 0 / 411.9 MB, free: 2.305 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004493/0.1208, allocations: 230 kB / 412.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1208, allocations: 4 kB / 412.1 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1208, allocations: 0 / 412.1 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1208, allocations: 8 kB / 412.1 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.121, allocations: 51.95 kB / 412.2 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.121, allocations: 7.938 kB / 412.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.489e-05/0.1211, allocations: 11.89 kB / 412.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.1211, allocations: 19.92 kB / 412.2 MB, free: 1.973 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_p.phase,state_h.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.0001075/0.1212, allocations: 168.6 kB / 412.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.1213, allocations: 11.95 kB / 412.4 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.1225, allocations: 1.184 MB / 413.6 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.1225, allocations: 11.98 kB / 413.6 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1225, allocations: 0 / 413.6 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1225, allocations: 3.984 kB / 413.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1259/0.2484, allocations: 0.5644 MB / 414.1 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.2484, allocations: 1.047 kB / 414.1 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.2486, allocations: 33.28 kB / 414.2 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2486, allocations: 5.484 kB / 414.2 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.2486, allocations: 1.812 kB / 414.2 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2486, allocations: 2.781 kB / 414.2 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2486, allocations: 1.688 kB / 414.2 MB, free: 61.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.249, allocations: 0.5603 MB / 414.7 MB, free: 61.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.2491, allocations: 27.19 kB / 414.8 MB, free: 61.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2491, allocations: 6.688 kB / 414.8 MB, free: 61.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.2492, allocations: 1.219 kB / 414.8 MB, free: 61.16 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.2492, allocations: 17.61 kB / 414.8 MB, free: 61.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.2492, allocations: 3.422 kB / 414.8 MB, free: 61.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.2492, allocations: 141.5 kB / 414.9 MB, free: 61.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2492, allocations: 0 / 414.9 MB, free: 61.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002131/0.2514, allocations: 0.9269 MB / 415.9 MB, free: 61.04 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.002733/0.2541, allocations: 1.267 MB / 417.1 MB, free: 60.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.2543, allocations: 168.1 kB / 417.3 MB, free: 60.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.2543, allocations: 0 / 417.3 MB, free: 60.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.2544, allocations: 98.73 kB / 417.4 MB, free: 60.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.2548, allocations: 59.16 kB / 417.4 MB, free: 60.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007451/0.2555, allocations: 0.5108 MB / 418 MB, free: 60.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.876e-05/0.2556, allocations: 86.2 kB / 418 MB, free: 60.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002734/0.2558, allocations: 375 kB / 418.4 MB, free: 60.62 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.256, allocations: 128.8 kB / 418.5 MB, free: 60.56 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.256, allocations: 0 / 418.5 MB, free: 60.56 MB / 330.7 MB Notification: Performance of Templates: time 0.03076/0.2867, allocations: 39.74 MB / 458.3 MB, free: 30.59 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: 5.481499393004924]