Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.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.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesButane,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.001666/0.001666, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.278/1.278, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04659/0.04659, allocations: 9.096 MB / 279.7 MB, free: 2.938 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.00164/0.00164, allocations: 76.28 kB / 388.2 MB, free: 47.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06625/0.0679, allocations: 48.17 MB / 436.3 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01672/0.08465, allocations: 17.41 MB / 453.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.1011, allocations: 16.91 MB / 470.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.583e-05/0.1012, allocations: 0 / 470.6 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007049/0.102, allocations: 283.1 kB / 470.9 MB, free: 4.879 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.01454/0.1166, allocations: 6.126 MB / 477 MB, free: 14.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.118, allocations: 0.5713 MB / 477.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.1182, allocations: 199 kB / 477.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.79e-05/0.1183, allocations: 13.09 kB / 477.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1185, allocations: 87.59 kB / 477.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1186, allocations: 59.77 kB / 478 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1186, allocations: 4 kB / 478 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01654/0.1352, allocations: 9.931 MB / 487.9 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.588e-05/0.1352, allocations: 11.94 kB / 487.9 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.1353, allocations: 59.66 kB / 488 MB, free: 3.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008139/0.1435, allocations: 4.007 MB / 492 MB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1435, allocations: 0 / 492 MB, free: 15.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1435, allocations: 4 kB / 492 MB, free: 15.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1435, allocations: 3.938 kB / 492 MB, free: 15.77 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.001963/0.1455, allocations: 0.8928 MB / 492.9 MB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.1455, allocations: 12.03 kB / 492.9 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.1457, allocations: 23.83 kB / 492.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002146/0.146, allocations: 198.8 kB / 493.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.146, allocations: 8 kB / 493.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.146, allocations: 4 kB / 493.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.1462, allocations: 134.4 kB / 493.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1462, allocations: 7.984 kB / 493.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.1462, allocations: 0 / 493.3 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1463, allocations: 7.938 kB / 493.3 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.1464, allocations: 95.95 kB / 493.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.147, allocations: 0.5738 MB / 493.9 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.1473, allocations: 129.1 kB / 494.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.1474, allocations: 85.64 kB / 494.1 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06281/0.2102, allocations: 33.17 MB / 0.515 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.2103, allocations: 34.56 kB / 0.515 GB, free: 6.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.755e-06/0.2103, allocations: 4 kB / 0.515 GB, free: 6.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006217/0.2109, allocations: 229.2 kB / 0.5152 GB, free: 6.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.211, allocations: 81.09 kB / 0.5153 GB, free: 6.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2111, allocations: 121.8 kB / 0.5154 GB, free: 6.207 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2111, allocations: 33.7 kB / 0.5154 GB, free: 6.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.2111, allocations: 88.58 kB / 0.5155 GB, free: 6.074 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.255e-05/0.2112, allocations: 82.77 kB / 0.5156 GB, free: 5.992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.577e-05/0.2113, allocations: 33.7 kB / 0.5156 GB, free: 5.953 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2114, allocations: 330.8 kB / 0.516 GB, free: 5.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-05/0.2115, allocations: 39.98 kB / 0.516 GB, free: 5.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.184e-05/0.2116, allocations: 65.7 kB / 0.5161 GB, free: 5.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.2117, allocations: 125.4 kB / 0.5162 GB, free: 5.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2118, allocations: 0 / 0.5162 GB, free: 5.387 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002446/0.212, allocations: 169.4 kB / 0.5163 GB, free: 5.215 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.212, allocations: 10.34 kB / 0.5163 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.212, allocations: 0 / 0.5163 GB, free: 5.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2121, allocations: 3.984 kB / 0.5163 GB, free: 5.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.2122, allocations: 20 kB / 0.5164 GB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2122, allocations: 4 kB / 0.5164 GB, free: 5.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.2122, allocations: 3.906 kB / 0.5164 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.2123, allocations: 4 kB / 0.5164 GB, free: 5.172 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 9.686e-05/0.2124, allocations: 137.6 kB / 0.5165 GB, free: 5.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.2124, allocations: 15.89 kB / 0.5165 GB, free: 5.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.2129, allocations: 298 kB / 0.5168 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2129, allocations: 3.938 kB / 0.5168 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2129, allocations: 4 kB / 0.5168 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.213, allocations: 92.86 kB / 0.5169 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.213, allocations: 11.98 kB / 0.5169 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.2131, allocations: 12.06 kB / 0.5169 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.2132, allocations: 8 kB / 0.5169 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004739/0.2136, allocations: 435.4 kB / 0.5174 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005767/0.2142, allocations: 0.6307 MB / 0.518 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001531/0.2144, allocations: 123.9 kB / 0.5181 GB, free: 3.371 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.206e-05/0.2145, allocations: 103.2 kB / 0.5182 GB, free: 3.27 MB / 414.1 MB Notification: Performance of Backend: time 2.7e-07/0.2145, allocations: 3.938 kB / 0.5182 GB, free: 3.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004611/0.2191, allocations: 1.666 MB / 0.5198 GB, free: 1.578 MB / 414.1 MB Notification: Performance of SimCode: time 0.0009873/0.2201, allocations: 0.9753 MB / 0.5208 GB, free: 0.543 MB / 414.1 MB Notification: Performance of Templates: time 0.1892/0.4093, allocations: 27.97 MB / 0.5481 GB, free: 79.96 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesButane.pipe 2>&1)