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.001369/0.001369, allocations: 92.7 kB / 19.44 MB, free: 324 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.001568/0.001568, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.459/1.459, allocations: 177.1 MB / 203.1 MB, free: 5.582 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.05373/0.05373, allocations: 7.509 MB / 267.1 MB, free: 6.008 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.234e-06/2.234e-06, allocations: 0 / 337.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.493e-05/3.716e-05, allocations: 2.312 kB / 337.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01278/0.01282, allocations: 11.83 MB / 349.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.02461, allocations: 7.505 MB / 357.3 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.02471, allocations: 0 / 357.3 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.02494, allocations: 39.73 kB / 357.3 MB, free: 7.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006018/0.03096, allocations: 1.888 MB / 359.2 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006951/0.03791, allocations: 2.288 MB / 361.5 MB, free: 3.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.03815, allocations: 139 kB / 361.6 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.03819, allocations: 7.984 kB / 361.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.03831, allocations: 59.83 kB / 361.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.03842, allocations: 43.83 kB / 361.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.03844, allocations: 0 / 361.7 MB, free: 3.414 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/0.05328, allocations: 6.649 MB / 368.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.151e-05/0.05332, allocations: 19.91 kB / 368.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.05342, allocations: 31.92 kB / 368.4 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.06452, allocations: 4.884 MB / 373.3 MB, free: 7.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.06454, allocations: 8 kB / 373.3 MB, free: 7.805 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.06454, allocations: 0 / 373.3 MB, free: 7.805 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.06454, allocations: 0 / 373.3 MB, free: 7.805 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.002711/0.06725, allocations: 0.8224 MB / 374.1 MB, free: 6.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.0673, allocations: 12.62 kB / 374.2 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.06775, allocations: 68.72 kB / 374.2 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.06802, allocations: 145.6 kB / 374.4 MB, free: 6.703 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.06804, allocations: 8.562 kB / 374.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.06808, allocations: 12.38 kB / 374.4 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.06907, allocations: 260.4 kB / 374.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.06908, allocations: 0 / 374.6 MB, free: 6.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.06909, allocations: 7.938 kB / 374.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.0691, allocations: 4 kB / 374.7 MB, free: 6.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008474/0.06995, allocations: 207.8 kB / 374.9 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007779/0.07072, allocations: 416.3 kB / 375.3 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.07177, allocations: 233.2 kB / 375.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.07188, allocations: 53.69 kB / 375.5 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1315/0.2033, allocations: 35.05 MB / 410.6 MB, free: 2.359 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.2034, allocations: 42.5 kB / 410.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.2034, allocations: 0 / 410.6 MB, free: 2.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.001918/0.2053, allocations: 392.9 kB / 411 MB, free: 1.918 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.2054, allocations: 85.09 kB / 411.1 MB, free: 1.816 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.2055, allocations: 129.7 kB / 411.2 MB, free: 1.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.2056, allocations: 25.7 kB / 411.3 MB, free: 1.648 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.2056, allocations: 100 kB / 411.4 MB, free: 1.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.349e-05/0.2057, allocations: 59.52 kB / 411.4 MB, free: 1.488 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.2058, allocations: 53.69 kB / 411.5 MB, free: 1.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.206, allocations: 322.8 kB / 411.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.2061, allocations: 59.95 kB / 411.8 MB, free: 1.047 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.2063, allocations: 87.39 kB / 411.9 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003434/0.2067, allocations: 147.3 kB / 412.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2067, allocations: 0 / 412.1 MB, free: 0.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005904/0.2072, allocations: 226.1 kB / 412.3 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.2073, allocations: 4 kB / 412.3 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.2073, allocations: 4 kB / 412.3 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2073, allocations: 0 / 412.3 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.2075, allocations: 59.95 kB / 412.4 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.2075, allocations: 4 kB / 412.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.2077, allocations: 15.83 kB / 412.4 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.2077, allocations: 19.98 kB / 412.4 MB, free: 472 kB / 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.0001364/0.2078, allocations: 121.8 kB / 412.5 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.2079, allocations: 11.95 kB / 412.5 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.118/0.3259, allocations: 2.249 MB / 414.8 MB, free: 83.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.3259, allocations: 3.703 kB / 414.8 MB, free: 83.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3259, allocations: 7.281 kB / 414.8 MB, free: 83.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.326, allocations: 7.406 kB / 414.8 MB, free: 83.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.3267, allocations: 1.021 MB / 415.8 MB, free: 82.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3267, allocations: 0 / 415.8 MB, free: 82.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.3269, allocations: 31.67 kB / 415.8 MB, free: 82.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.3269, allocations: 1.094 kB / 415.8 MB, free: 82.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.327, allocations: 6.281 kB / 415.8 MB, free: 82.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.327, allocations: 3.234 kB / 415.9 MB, free: 82.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.327, allocations: 2.25 kB / 415.9 MB, free: 82.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.3276, allocations: 0.6691 MB / 416.5 MB, free: 82.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.3277, allocations: 27.56 kB / 416.5 MB, free: 82.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.3277, allocations: 3.719 kB / 416.6 MB, free: 82.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.3278, allocations: 6.281 kB / 416.6 MB, free: 82.56 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.3279, allocations: 10.75 kB / 416.6 MB, free: 82.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.3279, allocations: 4.531 kB / 416.6 MB, free: 82.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.767e-05/0.3279, allocations: 100.4 kB / 416.7 MB, free: 82.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3279, allocations: 0 / 416.7 MB, free: 82.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002406/0.3303, allocations: 0.9228 MB / 417.6 MB, free: 82.44 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.003796/0.3341, allocations: 1.245 MB / 418.8 MB, free: 82.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004663/0.3346, allocations: 205.7 kB / 419 MB, free: 82.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3346, allocations: 0.9688 kB / 419 MB, free: 82.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.3348, allocations: 129 kB / 419.2 MB, free: 82.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.3354, allocations: 65.7 kB / 419.2 MB, free: 82.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008889/0.3363, allocations: 0.5258 MB / 419.8 MB, free: 81.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.872e-05/0.3364, allocations: 125.8 kB / 419.9 MB, free: 81.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004197/0.3368, allocations: 384.6 kB / 420.3 MB, free: 81.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3369, allocations: 33.83 kB / 420.3 MB, free: 81.75 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3369, allocations: 0 / 420.3 MB, free: 81.75 MB / 330.7 MB Notification: Performance of Templates: time 0.03387/0.3708, allocations: 34 MB / 454.3 MB, free: 49.07 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.890197711996734]