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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 114.4 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 188.2 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04448/0.04448, allocations: 9.098 MB / 279.7 MB, free: 2.957 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 72.66 kB / 388.2 MB, free: 47.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06883/0.07022, allocations: 48.18 MB / 436.3 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide): time 0.01547/0.08573, allocations: 17.42 MB / 453.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.1007, allocations: 16.92 MB / 470.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.1008, allocations: 0 / 470.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006548/0.1015, allocations: 319.1 kB / 471 MB, free: 4.824 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeBindings: time 0.0134/0.1149, allocations: 6.644 MB / 477.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1162, allocations: 0.6142 MB / 478.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1165, allocations: 214.9 kB / 478.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.1165, allocations: 9.109 kB / 478.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.1167, allocations: 83.66 kB / 478.5 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1168, allocations: 59.7 kB / 478.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.1168, allocations: 4 kB / 478.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01813/0.1349, allocations: 10.45 MB / 489.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.135, allocations: 19.91 kB / 489.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1351, allocations: 51.69 kB / 489.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009075/0.1442, allocations: 4.142 MB / 493.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1442, allocations: 0 / 493.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1442, allocations: 0 / 493.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1442, allocations: 4 kB / 493.3 MB, free: 14.49 MB / 382.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.001758/0.146, allocations: 0.92 MB / 494.2 MB, free: 13.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1461, allocations: 8.031 kB / 494.2 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001801/0.1462, allocations: 31.83 kB / 494.2 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1465, allocations: 202.9 kB / 494.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.158e-06/0.1465, allocations: 0 / 494.4 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.1465, allocations: 12 kB / 494.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.1467, allocations: 138.4 kB / 494.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.1467, allocations: 0 / 494.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1468, allocations: 3.984 kB / 494.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1468, allocations: 11.94 kB / 494.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.1469, allocations: 91.95 kB / 494.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.1476, allocations: 0.566 MB / 495.2 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1478, allocations: 125.2 kB / 495.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.1479, allocations: 85.7 kB / 495.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05963/0.2075, allocations: 33.18 MB / 0.5162 GB, free: 5.398 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.2076, allocations: 38.5 kB / 0.5163 GB, free: 5.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.705e-06/0.2076, allocations: 0 / 0.5163 GB, free: 5.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006232/0.2083, allocations: 233.3 kB / 0.5165 GB, free: 5.117 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.2083, allocations: 81.11 kB / 0.5166 GB, free: 5.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.2084, allocations: 125.8 kB / 0.5167 GB, free: 4.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.2085, allocations: 29.7 kB / 0.5167 GB, free: 4.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.955e-05/0.2085, allocations: 92.53 kB / 0.5168 GB, free: 4.754 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.757e-05/0.2086, allocations: 79.27 kB / 0.5169 GB, free: 4.676 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.2087, allocations: 37.7 kB / 0.5169 GB, free: 4.633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2088, allocations: 326.8 kB / 0.5172 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.2089, allocations: 39.98 kB / 0.5173 GB, free: 4.266 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.209, allocations: 69.7 kB / 0.5173 GB, free: 4.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.2092, allocations: 125.5 kB / 0.5175 GB, free: 4.066 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2092, allocations: 0 / 0.5175 GB, free: 4.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002388/0.2095, allocations: 169.6 kB / 0.5176 GB, free: 3.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.2095, allocations: 8 kB / 0.5176 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.2095, allocations: 0 / 0.5176 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2095, allocations: 0 / 0.5176 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.2096, allocations: 23.92 kB / 0.5177 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.2096, allocations: 0 / 0.5177 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.2097, allocations: 15.89 kB / 0.5177 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.2097, allocations: 8 kB / 0.5177 GB, free: 3.84 MB / 414.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 8.386e-05/0.2098, allocations: 117.8 kB / 0.5178 GB, free: 3.715 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.465e-05/0.2099, allocations: 15.94 kB / 0.5178 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004312/0.2103, allocations: 309.9 kB / 0.5181 GB, free: 3.398 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2103, allocations: 3.938 kB / 0.5181 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2103, allocations: 0 / 0.5181 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.2104, allocations: 101 kB / 0.5182 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.2104, allocations: 3.984 kB / 0.5182 GB, free: 3.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.2106, allocations: 7.938 kB / 0.5182 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.2106, allocations: 8 kB / 0.5182 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004676/0.2111, allocations: 431.9 kB / 0.5186 GB, free: 2.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005744/0.2117, allocations: 0.6347 MB / 0.5192 GB, free: 2.176 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001416/0.2118, allocations: 120.1 kB / 0.5194 GB, free: 2.059 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.104e-05/0.2119, allocations: 107.5 kB / 0.5195 GB, free: 1.953 MB / 414.1 MB Notification: Performance of Backend: time 4.91e-07/0.2119, allocations: 0 / 0.5195 GB, free: 1.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005045/0.2169, allocations: 1.733 MB / 0.5212 GB, free: 204 kB / 414.1 MB Notification: Performance of SimCode: time 0.1664/0.3833, allocations: 0.9653 MB / 0.5221 GB, free: 96.48 MB / 414.1 MB Notification: Performance of Templates: time 0.03031/0.4137, allocations: 28 MB / 0.5494 GB, free: 78.89 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesCarbondioxide.makefile (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)