Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.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.001366/0.001366, 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.001589/0.001589, 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.07/1.07, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.06167/0.06167, allocations: 7.522 MB / 268.6 MB, free: 5.836 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.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 339.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/3.021e-05, allocations: 6.312 kB / 339.9 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.02017/0.0202, allocations: 17.46 MB / 357.4 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.03665, allocations: 17.05 MB / 374.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.664e-05/0.03675, allocations: 0 / 374.4 MB, free: 8.047 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006485/0.03739, allocations: 287.2 kB / 374.7 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01435/0.05174, allocations: 7.293 MB / 382 MB, free: 452 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.0533, allocations: 0.7079 MB / 382.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.05359, allocations: 238.8 kB / 382.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.811e-05/0.05364, allocations: 5.312 kB / 382.9 MB, free: 15.49 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002036/0.05385, allocations: 151.5 kB / 383.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.05396, allocations: 47.83 kB / 383.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.05397, allocations: 0 / 383.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01206/0.06603, allocations: 7.714 MB / 390.8 MB, free: 7.562 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.06605, allocations: 23.84 kB / 390.9 MB, free: 7.539 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.286e-05/0.06612, allocations: 39.94 kB / 390.9 MB, free: 7.5 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008558/0.07467, allocations: 4.118 MB / 395 MB, free: 3.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.07468, allocations: 4 kB / 395 MB, free: 3.367 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.07468, allocations: 0 / 395 MB, free: 3.367 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.07468, allocations: 0 / 395 MB, free: 3.367 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.002256/0.07694, allocations: 0.9403 MB / 396 MB, free: 2.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.07699, allocations: 12.61 kB / 396 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.07721, allocations: 39.81 kB / 396 MB, free: 2.336 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.07738, allocations: 139.9 kB / 396.2 MB, free: 2.172 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.07739, allocations: 4 kB / 396.2 MB, free: 2.168 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.07741, allocations: 8 kB / 396.2 MB, free: 2.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.07756, allocations: 85.03 kB / 396.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.07757, allocations: 4 kB / 396.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.07758, allocations: 7.984 kB / 396.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.0776, allocations: 4 kB / 396.3 MB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.405e-05/0.07765, allocations: 39.91 kB / 396.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.07828, allocations: 475 kB / 396.8 MB, free: 1.512 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.07844, allocations: 114.1 kB / 396.9 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.07848, allocations: 47.56 kB / 396.9 MB, free: 1.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02219/0.1007, allocations: 8.214 MB / 405.1 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.1007, allocations: 45.33 kB / 405.2 MB, free: 9.043 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 4.939e-06/0.1007, allocations: 0 / 405.2 MB, free: 9.043 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004521/0.1012, allocations: 177.3 kB / 405.4 MB, free: 8.863 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.1012, allocations: 81.11 kB / 405.4 MB, free: 8.766 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.104e-05/0.1013, allocations: 177.9 kB / 405.6 MB, free: 8.574 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.1013, allocations: 25.7 kB / 405.6 MB, free: 8.543 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.1014, allocations: 139.4 kB / 405.8 MB, free: 8.402 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/0.1014, allocations: 79.22 kB / 405.9 MB, free: 8.324 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.1015, allocations: 55.34 kB / 405.9 MB, free: 8.262 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.1016, allocations: 0.4962 MB / 406.4 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.039e-05/0.1016, allocations: 19.98 kB / 406.4 MB, free: 7.734 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.176e-05/0.1017, allocations: 64.95 kB / 406.5 MB, free: 7.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.1018, allocations: 85.97 kB / 406.6 MB, free: 7.574 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1018, allocations: 0 / 406.6 MB, free: 7.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001382/0.1019, allocations: 129.6 kB / 406.7 MB, free: 7.441 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1019, allocations: 7.938 kB / 406.7 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.1019, allocations: 4 kB / 406.7 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.102, allocations: 0 / 406.7 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.197e-05/0.102, allocations: 19.98 kB / 406.7 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.102, allocations: 4 kB / 406.7 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.1021, allocations: 11.89 kB / 406.7 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.1021, allocations: 8 kB / 406.7 MB, free: 7.387 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 8.31e-05/0.1022, allocations: 164.5 kB / 406.9 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.1022, allocations: 19.84 kB / 406.9 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005389/0.1027, allocations: 225.3 kB / 407.1 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001274/0.1029, allocations: 171.7 kB / 407.3 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1029, allocations: 4 kB / 407.3 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1029, allocations: 4 kB / 407.3 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.1035, allocations: 0.6761 MB / 408 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1035, allocations: 0 / 408 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.825e-05/0.1036, allocations: 43.92 kB / 408 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1036, allocations: 0 / 408 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1036, allocations: 8 kB / 408.1 MB, free: 6.035 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1036, allocations: 3.938 kB / 408.1 MB, free: 6.031 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1036, allocations: 3.938 kB / 408.1 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.1039, allocations: 0.5031 MB / 408.6 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.904e-05/0.104, allocations: 19.84 kB / 408.6 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.104, allocations: 4 kB / 408.6 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.921e-05/0.104, allocations: 4 kB / 408.6 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.593e-05/0.1041, allocations: 23.91 kB / 408.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1041, allocations: 8 kB / 408.6 MB, free: 5.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.1041, allocations: 131.2 kB / 408.7 MB, free: 5.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1041, allocations: 0 / 408.7 MB, free: 5.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002199/0.1063, allocations: 0.9463 MB / 409.7 MB, free: 4.371 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.003331/0.1097, allocations: 1.625 MB / 411.3 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.1099, allocations: 194.6 kB / 411.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1099, allocations: 0 / 411.5 MB, free: 2.531 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.11, allocations: 91.28 kB / 411.6 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005505/0.1105, allocations: 148.7 kB / 411.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.1114, allocations: 438.2 kB / 412.2 MB, free: 1.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.044e-05/0.1114, allocations: 92.83 kB / 412.3 MB, free: 1.719 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.1115, allocations: 34.12 kB / 412.3 MB, free: 1.688 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/0.1117, allocations: 174.1 kB / 412.5 MB, free: 1.516 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1117, allocations: 0 / 412.5 MB, free: 1.516 MB / 330.7 MB Notification: Performance of Templates: time 0.1501/0.2618, allocations: 32.85 MB / 445.3 MB, free: 40.09 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide -abortSlowSimulation -alarm=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.721875058952719]