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.0006761/0.0006761, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009392/0.001615, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007129/0.0007129, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009425/0.001655, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8572/0.8572, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06922/0.9264, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-main/package.mo): time 0.04556/0.04556, allocations: 11.72 MB / 255.9 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003958/0.04952, allocations: 3.092 MB / 259 MB, free: 0.7031 MB / 250.7 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia 3.0.0-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 1.273e-06/1.273e-06, allocations: 0 / 260.3 MB, free: 15.37 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.107e-06/1.038e-05, allocations: 2.312 kB / 260.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Validation.Derivatives.CheckDerivativesWater): time 0.009682/0.009692, allocations: 13.05 MB / 273.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1054/0.1151, allocations: 8.358 MB / 281.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.1151, allocations: 1.062 kB / 281.7 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.1152, allocations: 39.06 kB / 281.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002973/0.1182, allocations: 1.668 MB / 283.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.1223, allocations: 2.09 MB / 285.5 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.1226, allocations: 142.8 kB / 285.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.1226, allocations: 6.672 kB / 285.6 MB, free: 1.879 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1227, allocations: 70.05 kB / 285.7 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1228, allocations: 47.59 kB / 285.8 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1229, allocations: 2.938 kB / 285.8 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0101/0.133, allocations: 7.127 MB / 292.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.943e-05/0.133, allocations: 14.09 kB / 292.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.133, allocations: 31.44 kB / 292.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004622/0.1377, allocations: 3.676 MB / 296.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.108e-05/0.1377, allocations: 4 kB / 296.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1377, allocations: 0 / 296.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1377, allocations: 1 kB / 296.6 MB, free: 14.27 MB / 282.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.00171/0.1394, allocations: 1.14 MB / 297.7 MB, free: 13.1 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.1394, allocations: 9.062 kB / 297.8 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002488/0.1397, allocations: 68.81 kB / 297.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1398, allocations: 140.4 kB / 298 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/0.1398, allocations: 10 kB / 298 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.1398, allocations: 8.375 kB / 298 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.1403, allocations: 304.1 kB / 298.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.1403, allocations: 0 / 298.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1403, allocations: 0.9844 kB / 298.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1403, allocations: 7.219 kB / 298.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.1406, allocations: 199.4 kB / 298.5 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.141, allocations: 341.5 kB / 298.8 MB, free: 12 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.1414, allocations: 233.6 kB / 299 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.1414, allocations: 33.7 kB / 299.1 MB, free: 11.72 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2125/0.3539, allocations: 116.7 MB / 415.8 MB, free: 7.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.354, allocations: 30.56 kB / 415.8 MB, free: 7.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.036e-06/0.354, allocations: 2.297 kB / 415.8 MB, free: 7.078 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008597/0.3548, allocations: 369.5 kB / 416.2 MB, free: 6.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.3549, allocations: 81.11 kB / 416.3 MB, free: 6.617 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.3549, allocations: 121.8 kB / 416.4 MB, free: 6.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.355, allocations: 29.7 kB / 416.4 MB, free: 6.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.355, allocations: 102.6 kB / 416.5 MB, free: 6.355 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.355, allocations: 52.61 kB / 416.6 MB, free: 6.309 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-05/0.3551, allocations: 48.48 kB / 416.6 MB, free: 6.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.3551, allocations: 324.3 kB / 416.9 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.917e-05/0.3552, allocations: 47.86 kB / 417 MB, free: 5.891 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.3553, allocations: 80.95 kB / 417 MB, free: 5.801 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.3554, allocations: 135.3 kB / 417.2 MB, free: 5.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3554, allocations: 7.938 kB / 417.2 MB, free: 5.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000171/0.3556, allocations: 157.5 kB / 417.3 MB, free: 5.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3556, allocations: 9.5 kB / 417.4 MB, free: 5.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3556, allocations: 4 kB / 417.4 MB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.3556, allocations: 3.984 kB / 417.4 MB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3557, allocations: 66.48 kB / 417.4 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.3557, allocations: 0 / 417.4 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.551e-05/0.3558, allocations: 7.953 kB / 417.4 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.3558, allocations: 11.98 kB / 417.4 MB, free: 5.402 MB / 394.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 7.138e-05/0.3559, allocations: 129.8 kB / 417.6 MB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.715e-05/0.3559, allocations: 7.984 kB / 417.6 MB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/0.3567, allocations: 1.259 MB / 418.8 MB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3567, allocations: 4 kB / 418.8 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3567, allocations: 0 / 418.8 MB, free: 4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3567, allocations: 3.984 kB / 418.8 MB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.357, allocations: 410 kB / 419.2 MB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.357, allocations: 0 / 419.2 MB, free: 3.582 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.3571, allocations: 35.95 kB / 419.3 MB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.82e-05/0.3572, allocations: 27.78 kB / 419.3 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3572, allocations: 0 / 419.3 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3572, allocations: 4 kB / 419.3 MB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3572, allocations: 3.984 kB / 419.3 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3572, allocations: 0 / 419.3 MB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.3575, allocations: 0.5211 MB / 419.8 MB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.3575, allocations: 4 kB / 419.8 MB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.3576, allocations: 4 kB / 419.8 MB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.3576, allocations: 7.984 kB / 419.9 MB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3576, allocations: 4.875 kB / 419.9 MB, free: 2.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.176e-05/0.3576, allocations: 23.58 kB / 419.9 MB, free: 2.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3576, allocations: 7.969 kB / 419.9 MB, free: 2.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001482/0.3591, allocations: 0.9278 MB / 420.8 MB, free: 2.008 MB / 394.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.002415/0.3615, allocations: 1.326 MB / 422.1 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.3617, allocations: 155 kB / 422.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/0.3617, allocations: 4 kB / 422.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.472e-05/0.3618, allocations: 96.38 kB / 422.4 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.3624, allocations: 242.2 kB / 422.6 MB, free: 260 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09435/0.4567, allocations: 467 kB / 423.1 MB, free: 124.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.343e-05/0.4568, allocations: 86.8 kB / 423.2 MB, free: 124.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003424/0.4571, allocations: 373.7 kB / 423.5 MB, free: 124.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.4573, allocations: 98.14 kB / 423.6 MB, free: 124.5 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4573, allocations: 0.5312 kB / 423.6 MB, free: 124.5 MB / 394.7 MB Notification: Performance of Templates: time 0.02548/0.4828, allocations: 33.82 MB / 457.4 MB, free: 101.8 MB / 394.7 MB " [Timeout remaining time 660] 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: 3.520614850334823]