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.001406/0.001406, allocations: 88.72 kB / 19.44 MB, free: 356 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.00161/0.00161, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.05453/0.05453, allocations: 7.512 MB / 267.1 MB, free: 6.02 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.282e-06/1.282e-06, allocations: 0 / 337.9 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.17e-05/2.298e-05, allocations: 2.312 kB / 337.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.01739/0.01741, allocations: 15.83 MB / 353.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02138/0.0388, allocations: 14.98 MB / 368.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.307e-05/0.03889, allocations: 0 / 368.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000788/0.03968, allocations: 251.2 kB / 369 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01724/0.05691, allocations: 6.688 MB / 375.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.05858, allocations: 0.6219 MB / 376.3 MB, free: 4.793 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.05888, allocations: 210.8 kB / 376.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.05893, allocations: 9.312 kB / 376.5 MB, free: 4.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.05918, allocations: 135.5 kB / 376.7 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.05931, allocations: 47.83 kB / 376.7 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.05932, allocations: 4 kB / 376.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01552/0.07484, allocations: 7.499 MB / 384.2 MB, free: 12.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.161e-05/0.07487, allocations: 15.91 kB / 384.2 MB, free: 12.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.07497, allocations: 35.88 kB / 384.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009737/0.08471, allocations: 4.13 MB / 388.4 MB, free: 8.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.08471, allocations: 0 / 388.4 MB, free: 8.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.08471, allocations: 4 kB / 388.4 MB, free: 8.676 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.08472, allocations: 0 / 388.4 MB, free: 8.676 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.002466/0.08719, allocations: 0.8485 MB / 389.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.08724, allocations: 12.62 kB / 389.2 MB, free: 7.781 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.08748, allocations: 35.81 kB / 389.3 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.08773, allocations: 145 kB / 389.4 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.08775, allocations: 4 kB / 389.4 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.08777, allocations: 4 kB / 389.4 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.08803, allocations: 135.4 kB / 389.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.08804, allocations: 0 / 389.6 MB, free: 7.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.08805, allocations: 8 kB / 389.6 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.08807, allocations: 7.984 kB / 389.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.08823, allocations: 103.9 kB / 389.7 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.08894, allocations: 420.4 kB / 390.1 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002942/0.08923, allocations: 113.1 kB / 390.2 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.08935, allocations: 57.77 kB / 390.3 MB, free: 6.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05754/0.1469, allocations: 10.97 MB / 401.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.1469, allocations: 38.56 kB / 401.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 2.254e-06/0.1469, allocations: 0 / 401.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007267/0.1477, allocations: 233.3 kB / 401.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.1477, allocations: 77.11 kB / 401.6 MB, free: 11.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.1479, allocations: 121.8 kB / 401.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1479, allocations: 29.7 kB / 401.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.148, allocations: 92.62 kB / 401.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.1481, allocations: 79.23 kB / 401.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.1481, allocations: 41.7 kB / 401.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1483, allocations: 322.8 kB / 402.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.214e-05/0.1484, allocations: 47.98 kB / 402.3 MB, free: 10.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.1485, allocations: 67.44 kB / 402.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.1487, allocations: 121.4 kB / 402.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1487, allocations: 3.938 kB / 402.5 MB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003225/0.1491, allocations: 185.5 kB / 402.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1491, allocations: 4 kB / 402.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1491, allocations: 0 / 402.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.1491, allocations: 0 / 402.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.733e-05/0.1492, allocations: 16 kB / 402.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.1492, allocations: 4 kB / 402.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.1493, allocations: 11.89 kB / 402.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.684e-05/0.1493, allocations: 4 kB / 402.7 MB, free: 10.14 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 0.0001198/0.1494, allocations: 125.8 kB / 402.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.129e-05/0.1495, allocations: 23.84 kB / 402.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005554/0.15, allocations: 313.2 kB / 403.1 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003749/0.1504, allocations: 248.8 kB / 403.4 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1504, allocations: 0 / 403.4 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1504, allocations: 4 kB / 403.4 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.1518, allocations: 0.6674 MB / 404.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1518, allocations: 0 / 404.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.152, allocations: 39.92 kB / 404.1 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.152, allocations: 8 kB / 404.1 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.152, allocations: 11.92 kB / 404.1 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.152, allocations: 4 kB / 404.1 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.152, allocations: 0 / 404.1 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007625/0.1528, allocations: 0.5303 MB / 404.7 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1528, allocations: 27.72 kB / 404.7 MB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1528, allocations: 16 kB / 404.7 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.153, allocations: 4 kB / 404.7 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.153, allocations: 27.95 kB / 404.7 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.153, allocations: 4 kB / 404.7 MB, free: 8.035 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.483e-05/0.1531, allocations: 99.27 kB / 404.8 MB, free: 7.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1531, allocations: 4.062 kB / 404.8 MB, free: 7.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002617/0.1557, allocations: 0.9423 MB / 405.8 MB, free: 6.988 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.004808/0.1605, allocations: 1.599 MB / 407.4 MB, free: 5.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004627/0.161, allocations: 239.4 kB / 407.6 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.161, allocations: 0 / 407.6 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.1612, allocations: 103.9 kB / 407.7 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.1622, allocations: 140.9 kB / 407.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.1631, allocations: 437.5 kB / 408.3 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.1633, allocations: 121.1 kB / 408.4 MB, free: 4.301 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.1634, allocations: 53.97 kB / 408.4 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.1635, allocations: 32.5 kB / 408.5 MB, free: 4.215 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1635, allocations: 0 / 408.5 MB, free: 4.215 MB / 330.7 MB Notification: Performance of Templates: time 0.141/0.3045, allocations: 28.43 MB / 436.9 MB, free: 65.56 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=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.192340599023737]