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.001867/0.001867, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002127/0.002127, allocations: 154.8 kB / 23.01 MB, free: 4.949 MB / 14.72 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.478/1.478, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.04703/0.04703, allocations: 7.536 MB / 267.3 MB, free: 9.582 MB / 254.1 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 0.002153/0.002153, allocations: 67.91 kB / 392.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1117, allocations: 54.91 MB / 447.7 MB, free: 4.598 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.02197/0.1337, allocations: 15.86 MB / 463.5 MB, free: 4.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01851/0.1522, allocations: 14.98 MB / 478.5 MB, free: 5.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1523, allocations: 0 / 478.5 MB, free: 5.645 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007723/0.1531, allocations: 251.3 kB / 478.8 MB, free: 5.398 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2514/0.4046, allocations: 6.591 MB / 485.4 MB, free: 47.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.4068, allocations: 0.6174 MB / 486 MB, free: 47.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.4071, allocations: 199.1 kB / 486.2 MB, free: 47.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.4072, allocations: 12.75 kB / 486.2 MB, free: 47.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.4074, allocations: 93.23 kB / 486.3 MB, free: 47.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.4075, allocations: 60.72 kB / 486.3 MB, free: 47.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.4075, allocations: 3.219 kB / 486.3 MB, free: 47.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.015/0.4225, allocations: 7.454 MB / 493.8 MB, free: 47.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.4225, allocations: 14.89 kB / 493.8 MB, free: 47.28 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.4227, allocations: 48.58 kB / 493.9 MB, free: 47.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.434, allocations: 3.503 MB / 497.4 MB, free: 47.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.434, allocations: 0 / 497.4 MB, free: 47.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.434, allocations: 0 / 497.4 MB, free: 47.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.434, allocations: 0 / 497.4 MB, free: 47.16 MB / 446.1 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.002099/0.4361, allocations: 0.8475 MB / 498.2 MB, free: 46.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.4362, allocations: 10.44 kB / 498.2 MB, free: 46.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001834/0.4363, allocations: 29.83 kB / 498.2 MB, free: 46.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.4365, allocations: 142.3 kB / 498.4 MB, free: 46.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.4365, allocations: 3.375 kB / 498.4 MB, free: 46.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.4366, allocations: 7.25 kB / 498.4 MB, free: 46.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.4367, allocations: 131.5 kB / 498.5 MB, free: 46.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4368, allocations: 1.641 kB / 498.5 MB, free: 46.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.4368, allocations: 3.812 kB / 498.5 MB, free: 46.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.4368, allocations: 8.641 kB / 498.5 MB, free: 46.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.4369, allocations: 99.98 kB / 498.6 MB, free: 46.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004919/0.4374, allocations: 424.9 kB / 499 MB, free: 46.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.4376, allocations: 108.5 kB / 499.2 MB, free: 46.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/0.4377, allocations: 68.28 kB / 499.2 MB, free: 46.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04794/0.4857, allocations: 10.91 MB / 0.4982 GB, free: 45.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.4857, allocations: 37.06 kB / 0.4982 GB, free: 45.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=24): time 2.475e-06/0.4857, allocations: 1.188 kB / 0.4982 GB, free: 45.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007655/0.4865, allocations: 229.5 kB / 0.4984 GB, free: 45.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.4865, allocations: 82.89 kB / 0.4985 GB, free: 45.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.4866, allocations: 122.1 kB / 0.4986 GB, free: 45.49 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4866, allocations: 26.83 kB / 0.4987 GB, free: 45.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.4867, allocations: 88.19 kB / 0.4987 GB, free: 45.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.4867, allocations: 84.11 kB / 0.4988 GB, free: 45.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-05/0.4868, allocations: 38.62 kB / 0.4989 GB, free: 45.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.217e-05/0.4868, allocations: 332.5 kB / 0.4992 GB, free: 44.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.837e-05/0.4869, allocations: 40.72 kB / 0.4992 GB, free: 44.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.561e-05/0.487, allocations: 68.95 kB / 0.4993 GB, free: 44.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.4872, allocations: 121.5 kB / 0.4994 GB, free: 44.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4872, allocations: 0 / 0.4994 GB, free: 44.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002699/0.4875, allocations: 169.2 kB / 0.4996 GB, free: 44.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.4875, allocations: 5.781 kB / 0.4996 GB, free: 44.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4875, allocations: 1.188 kB / 0.4996 GB, free: 44.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4875, allocations: 3.969 kB / 0.4996 GB, free: 44.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.96e-05/0.4876, allocations: 29.72 kB / 0.4996 GB, free: 44.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4876, allocations: 1.062 kB / 0.4996 GB, free: 44.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.4877, allocations: 11.39 kB / 0.4996 GB, free: 44.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.4877, allocations: 8.797 kB / 0.4996 GB, free: 44.89 MB / 446.1 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.949e-05/0.4878, allocations: 118 kB / 0.4997 GB, free: 44.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.4879, allocations: 13.44 kB / 0.4997 GB, free: 44.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/0.4884, allocations: 315.2 kB / 0.5 GB, free: 44.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003257/0.4887, allocations: 247.7 kB / 0.5003 GB, free: 44.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4887, allocations: 1.125 kB / 0.5003 GB, free: 44.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.4887, allocations: 6.641 kB / 0.5003 GB, free: 44.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009113/0.4896, allocations: 0.6823 MB / 0.501 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4896, allocations: 3.109 kB / 0.501 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.4898, allocations: 39.89 kB / 0.501 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4898, allocations: 1 kB / 0.501 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.4898, allocations: 8.406 kB / 0.501 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4898, allocations: 1.094 kB / 0.501 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4898, allocations: 5.938 kB / 0.501 GB, free: 44.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005283/0.4904, allocations: 0.5361 MB / 0.5015 GB, free: 44.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.4904, allocations: 18.05 kB / 0.5015 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.4904, allocations: 6.688 kB / 0.5016 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.4906, allocations: 4.438 kB / 0.5016 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.4906, allocations: 18.81 kB / 0.5016 GB, free: 44.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.4906, allocations: 10.66 kB / 0.5016 GB, free: 44.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.062e-05/0.4907, allocations: 94.14 kB / 0.5017 GB, free: 44.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4907, allocations: 0 / 0.5017 GB, free: 44.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002959/0.4936, allocations: 0.9431 MB / 0.5026 GB, free: 43.83 MB / 446.1 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.004713/0.4983, allocations: 1.49 MB / 0.5041 GB, free: 43.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.4988, allocations: 241.1 kB / 0.5043 GB, free: 43.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4988, allocations: 0 / 0.5043 GB, free: 43.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.4989, allocations: 104.5 kB / 0.5044 GB, free: 43.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.5, allocations: 152.2 kB / 0.5045 GB, free: 43.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008627/0.5009, allocations: 486.3 kB / 0.505 GB, free: 43.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.501, allocations: 120.3 kB / 0.5051 GB, free: 43.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.5012, allocations: 49.16 kB / 0.5052 GB, free: 43.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.39e-05/0.5013, allocations: 31.69 kB / 0.5052 GB, free: 43.02 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5013, allocations: 0 / 0.5052 GB, free: 43.02 MB / 446.1 MB Notification: Performance of Templates: time 0.04467/0.5459, allocations: 28.29 MB / 0.5328 GB, free: 34.09 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.734439813066274] Failed to read output from testmodel.py, exit status != 0: 0.5542477029375732 0.563236253 0.126820329 Calling exit ...