Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.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.0009646/0.0009646, allocations: 93.06 kB / 19.65 MB, free: 280 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.001136/0.001136, allocations: 173 kB / 23.03 MB, free: 1.547 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 0.9382/0.9382, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.03096/0.03096, allocations: 7.521 MB / 267.5 MB, free: 6 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.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.321e-05, allocations: 6.312 kB / 338.7 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesHelium): time 0.02773/0.02776, allocations: 17.53 MB / 356.2 MB, free: 9.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01722/0.04498, allocations: 17.09 MB / 373.3 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.0451, allocations: 0 / 373.3 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000789/0.04589, allocations: 259.2 kB / 373.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01611/0.062, allocations: 6.946 MB / 380.5 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.06319, allocations: 0.6766 MB / 381.2 MB, free: 308 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.06338, allocations: 218.9 kB / 381.4 MB, free: 88 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.599e-05/0.06342, allocations: 9.297 kB / 381.4 MB, free: 76 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.06357, allocations: 131.6 kB / 381.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.06363, allocations: 39.86 kB / 381.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.06365, allocations: 8 kB / 381.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009558/0.07321, allocations: 7.047 MB / 388.6 MB, free: 8.836 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.07323, allocations: 15.92 kB / 388.6 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.07328, allocations: 39.86 kB / 388.7 MB, free: 8.781 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006283/0.07956, allocations: 4.029 MB / 392.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.07957, allocations: 0 / 392.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.07957, allocations: 0 / 392.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.07958, allocations: 4 kB / 392.7 MB, free: 4.738 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001487/0.08106, allocations: 0.9364 MB / 393.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.08111, allocations: 16.62 kB / 393.7 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.08129, allocations: 35.81 kB / 393.7 MB, free: 3.711 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.08144, allocations: 139.9 kB / 393.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.08145, allocations: 4 kB / 393.8 MB, free: 3.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.08148, allocations: 8 kB / 393.8 MB, free: 3.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.08163, allocations: 105.7 kB / 393.9 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.08164, allocations: 0 / 393.9 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.08165, allocations: 0 / 393.9 MB, free: 3.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.08166, allocations: 8 kB / 394 MB, free: 3.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.08173, allocations: 43.92 kB / 394 MB, free: 3.367 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.08226, allocations: 0.4906 MB / 394.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.08244, allocations: 114.1 kB / 394.6 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.08274, allocations: 55.42 kB / 394.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0228/0.1055, allocations: 10.38 MB / 405 MB, free: 8.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.1056, allocations: 33.39 kB / 405.1 MB, free: 8.199 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.335e-06/0.1056, allocations: 8 kB / 405.1 MB, free: 8.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004567/0.106, allocations: 197.3 kB / 405.3 MB, free: 7.992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1061, allocations: 85.09 kB / 405.3 MB, free: 7.891 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.1062, allocations: 173.9 kB / 405.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1062, allocations: 29.7 kB / 405.5 MB, free: 7.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.1062, allocations: 131.4 kB / 405.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.1063, allocations: 95.2 kB / 405.8 MB, free: 7.441 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.1063, allocations: 39.36 kB / 405.8 MB, free: 7.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1064, allocations: 0.4962 MB / 406.3 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.376e-05/0.1065, allocations: 27.98 kB / 406.3 MB, free: 6.859 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.799e-05/0.1065, allocations: 56.45 kB / 406.4 MB, free: 6.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1067, allocations: 110.9 kB / 406.5 MB, free: 6.684 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1067, allocations: 0 / 406.5 MB, free: 6.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001566/0.1068, allocations: 149.5 kB / 406.6 MB, free: 6.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1068, allocations: 11.98 kB / 406.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1068, allocations: 0 / 406.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1069, allocations: 0 / 406.7 MB, free: 6.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.977e-05/0.1069, allocations: 16 kB / 406.7 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1069, allocations: 4 kB / 406.7 MB, free: 6.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.107, allocations: 7.891 kB / 406.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.107, allocations: 8 kB / 406.7 MB, free: 6.484 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 7.938e-05/0.1071, allocations: 172.5 kB / 406.9 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.1071, allocations: 19.84 kB / 406.9 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002673/0.1074, allocations: 240.5 kB / 407.1 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001475/0.1075, allocations: 188.4 kB / 407.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1075, allocations: 0 / 407.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1075, allocations: 7.938 kB / 407.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.1081, allocations: 0.7186 MB / 408 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1081, allocations: 4 kB / 408 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.83e-05/0.1082, allocations: 43.92 kB / 408.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1082, allocations: 0 / 408.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.1082, allocations: 11.94 kB / 408.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1082, allocations: 0 / 408.1 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1082, allocations: 4 kB / 408.1 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.1086, allocations: 0.5188 MB / 408.6 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.1086, allocations: 23.78 kB / 408.6 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.1086, allocations: 7.938 kB / 408.6 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.322e-05/0.1087, allocations: 11.94 kB / 408.6 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.637e-05/0.1087, allocations: 20 kB / 408.7 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1087, allocations: 8 kB / 408.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.1087, allocations: 135.2 kB / 408.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1087, allocations: 0 / 408.8 MB, free: 4.285 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00202/0.1108, allocations: 0.9424 MB / 409.7 MB, free: 3.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_h_int,d_p_int) * Number of discrete variables: 4 (state_h.phase,$cse2.phase,state_p.phase,$cse1.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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.002374/0.1131, allocations: 1.533 MB / 411.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.1134, allocations: 222.5 kB / 411.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1134, allocations: 0 / 411.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.06e-05/0.1135, allocations: 100.2 kB / 411.6 MB, free: 1.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005231/0.114, allocations: 149.9 kB / 411.7 MB, free: 1.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008464/0.1148, allocations: 438 kB / 412.2 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.348e-05/0.1149, allocations: 88.81 kB / 412.3 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.666e-05/0.115, allocations: 42.11 kB / 412.3 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.115, allocations: 24.5 kB / 412.3 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of SimCode: time 1.583e-06/0.115, allocations: 0 / 412.3 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of Templates: time 0.144/0.259, allocations: 33.76 MB / 446.1 MB, free: 38.62 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesHelium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.913006487768143]