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.001681/0.00168, allocations: 112.6 kB / 16.42 MB, free: 6.496 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.001998/0.001998, allocations: 189.6 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.378/1.378, 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.04815/0.04815, allocations: 9.092 MB / 279.7 MB, free: 2.961 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.001462/0.001462, allocations: 75.97 kB / 388.2 MB, free: 47.08 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07229/0.07376, allocations: 48.18 MB / 436.3 MB, free: 7.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesButane): time 0.01819/0.09199, allocations: 17.4 MB / 453.7 MB, free: 6.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02179/0.1138, allocations: 16.91 MB / 470.6 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001474/0.114, allocations: 4 kB / 470.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.1151, allocations: 315.1 kB / 471 MB, free: 4.75 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.02189/0.1371, allocations: 6.456 MB / 477.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.1397, allocations: 0.6221 MB / 478 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.1401, allocations: 199 kB / 478.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.795e-05/0.1402, allocations: 5.125 kB / 478.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.1404, allocations: 91.64 kB / 478.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.1406, allocations: 55.77 kB / 478.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.1407, allocations: 4 kB / 478.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02428/0.1649, allocations: 9.931 MB / 488.3 MB, free: 3.359 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.165, allocations: 19.84 kB / 488.3 MB, free: 3.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1652, allocations: 47.75 kB / 488.4 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0117/0.1769, allocations: 4.019 MB / 492.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.447e-06/0.1769, allocations: 3.984 kB / 492.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1769, allocations: 4 kB / 492.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.177, allocations: 0 / 492.4 MB, free: 15.26 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.002219/0.1792, allocations: 0.8851 MB / 493.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.1792, allocations: 16.02 kB / 493.3 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.1795, allocations: 23.83 kB / 493.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.1798, allocations: 198.8 kB / 493.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.1798, allocations: 4 kB / 493.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1799, allocations: 8 kB / 493.5 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.1801, allocations: 138.4 kB / 493.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1802, allocations: 0 / 493.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.1802, allocations: 0 / 493.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.1802, allocations: 11.94 kB / 493.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.1804, allocations: 99.89 kB / 493.8 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008818/0.1813, allocations: 0.5816 MB / 494.4 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.1816, allocations: 125.1 kB / 494.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.1818, allocations: 81.7 kB / 494.6 MB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06308/0.2448, allocations: 33.17 MB / 0.5154 GB, free: 6.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.2449, allocations: 34.56 kB / 0.5154 GB, free: 6.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 3.386e-06/0.2449, allocations: 0 / 0.5154 GB, free: 6.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007525/0.2457, allocations: 237.2 kB / 0.5156 GB, free: 5.918 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.2458, allocations: 81.11 kB / 0.5157 GB, free: 5.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.2459, allocations: 121.8 kB / 0.5158 GB, free: 5.691 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.2459, allocations: 29.7 kB / 0.5158 GB, free: 5.656 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.246, allocations: 88.56 kB / 0.5159 GB, free: 5.562 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/0.2461, allocations: 78.8 kB / 0.516 GB, free: 5.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.2462, allocations: 33.7 kB / 0.516 GB, free: 5.445 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2463, allocations: 334.7 kB / 0.5164 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.602e-05/0.2464, allocations: 39.98 kB / 0.5164 GB, free: 5.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.2465, allocations: 73.69 kB / 0.5165 GB, free: 4.992 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.2467, allocations: 117.6 kB / 0.5166 GB, free: 4.875 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.2467, allocations: 0 / 0.5166 GB, free: 4.875 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002674/0.247, allocations: 169.4 kB / 0.5167 GB, free: 4.703 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.247, allocations: 8 kB / 0.5167 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.247, allocations: 0 / 0.5167 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.247, allocations: 0 / 0.5167 GB, free: 4.695 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.195e-05/0.2471, allocations: 20 kB / 0.5168 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2471, allocations: 4 kB / 0.5168 GB, free: 4.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.793e-05/0.2472, allocations: 11.89 kB / 0.5168 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.2472, allocations: 4 kB / 0.5168 GB, free: 4.656 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 0.0001133/0.2473, allocations: 133.6 kB / 0.5169 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.2474, allocations: 11.91 kB / 0.5169 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004559/0.2479, allocations: 309.6 kB / 0.5172 GB, free: 4.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.2479, allocations: 3.984 kB / 0.5172 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2479, allocations: 4 kB / 0.5172 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.248, allocations: 96.86 kB / 0.5173 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.248, allocations: 4 kB / 0.5173 GB, free: 4.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.2482, allocations: 3.938 kB / 0.5173 GB, free: 4.074 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.2482, allocations: 15.98 kB / 0.5173 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005145/0.2487, allocations: 431.9 kB / 0.5178 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005844/0.2493, allocations: 0.6306 MB / 0.5184 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000155/0.2495, allocations: 127.9 kB / 0.5185 GB, free: 2.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.467e-05/0.2496, allocations: 99.2 kB / 0.5186 GB, free: 2.758 MB / 414.1 MB Notification: Performance of Backend: time 7.22e-07/0.2496, allocations: 0 / 0.5186 GB, free: 2.758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005505/0.2551, allocations: 1.666 MB / 0.5202 GB, free: 1.07 MB / 414.1 MB Notification: Performance of SimCode: time 0.00122/0.2563, allocations: 0.9786 MB / 0.5212 GB, free: 36 kB / 414.1 MB Notification: Performance of Templates: time 0.2164/0.4728, allocations: 27.92 MB / 0.5484 GB, free: 80.05 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)