Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.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.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001046, allocations: 107.2 kB / 16.41 MB, free: 6.508 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.0009861/0.0009862, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.275/1.275, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04634/0.04634, allocations: 9.101 MB / 279.7 MB, free: 2.945 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.001393/0.001393, allocations: 66.31 kB / 388.2 MB, free: 47.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0652/0.0666, allocations: 48.19 MB / 436.3 MB, free: 7.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01245/0.07909, allocations: 12.81 MB / 449.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009132/0.08825, allocations: 8.568 MB / 457.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.08837, allocations: 0 / 457.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.08855, allocations: 47.7 kB / 457.8 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004212/0.09278, allocations: 1.884 MB / 459.6 MB, free: 192 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005126/0.09791, allocations: 2.263 MB / 461.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.09808, allocations: 131.1 kB / 462 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.09813, allocations: 4 kB / 462 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.626e-05/0.0982, allocations: 47.8 kB / 462.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.196e-05/0.09829, allocations: 47.84 kB / 462.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.09831, allocations: 4 kB / 462.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01155/0.1099, allocations: 6.922 MB / 469.1 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.1099, allocations: 15.91 kB / 469.1 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.681e-05/0.11, allocations: 47.73 kB / 469.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006362/0.1164, allocations: 3.778 MB / 472.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1164, allocations: 0 / 472.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1164, allocations: 0 / 472.9 MB, free: 2.914 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1164, allocations: 0 / 472.9 MB, free: 2.914 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.002231/0.1186, allocations: 0.8737 MB / 473.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.1187, allocations: 8.031 kB / 473.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003607/0.1191, allocations: 52.73 kB / 473.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1193, allocations: 204.1 kB / 474 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1193, allocations: 8.562 kB / 474 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.1193, allocations: 15.94 kB / 474.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008962/0.1202, allocations: 255.2 kB / 474.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.1203, allocations: 0 / 474.3 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.1203, allocations: 4 kB / 474.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.1203, allocations: 7.938 kB / 474.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.1211, allocations: 219.7 kB / 474.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.1218, allocations: 0.6584 MB / 475.2 MB, free: 432 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.1227, allocations: 241.2 kB / 475.4 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.1228, allocations: 61.67 kB / 475.5 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2772/0.4, allocations: 64.22 MB / 0.5271 GB, free: 92.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.4001, allocations: 31.31 kB / 0.5271 GB, free: 92.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 2.345e-06/0.4001, allocations: 4 kB / 0.5271 GB, free: 92.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.001747/0.4018, allocations: 368 kB / 0.5274 GB, free: 92.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.4019, allocations: 83.73 kB / 0.5275 GB, free: 92.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.658e-05/0.402, allocations: 130 kB / 0.5277 GB, free: 92.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.402, allocations: 29.92 kB / 0.5277 GB, free: 92.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.402, allocations: 96.75 kB / 0.5278 GB, free: 92.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.4021, allocations: 53.17 kB / 0.5278 GB, free: 92.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.958e-05/0.4022, allocations: 60.89 kB / 0.5279 GB, free: 92.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.271e-05/0.4023, allocations: 323.4 kB / 0.5282 GB, free: 92.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.4024, allocations: 57.62 kB / 0.5282 GB, free: 92.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.4025, allocations: 89.41 kB / 0.5283 GB, free: 92.06 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.4028, allocations: 144.1 kB / 0.5285 GB, free: 92.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4028, allocations: 4 kB / 0.5285 GB, free: 92.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004673/0.4033, allocations: 214.3 kB / 0.5287 GB, free: 91.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.4033, allocations: 8.5 kB / 0.5287 GB, free: 91.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4033, allocations: 1.375 kB / 0.5287 GB, free: 91.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4034, allocations: 6.062 kB / 0.5287 GB, free: 91.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.4036, allocations: 53.67 kB / 0.5287 GB, free: 91.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.4036, allocations: 2.219 kB / 0.5287 GB, free: 91.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.4037, allocations: 18.39 kB / 0.5288 GB, free: 91.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.302e-05/0.4038, allocations: 19.09 kB / 0.5288 GB, free: 91.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (state_h.phase,state_p.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.57e-05/0.4039, allocations: 129.5 kB / 0.5289 GB, free: 91.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-05/0.404, allocations: 10.06 kB / 0.5289 GB, free: 91.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/0.4059, allocations: 2.104 MB / 0.531 GB, free: 90.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.4059, allocations: 2.344 kB / 0.531 GB, free: 90.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4059, allocations: 1.219 kB / 0.531 GB, free: 90.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.406, allocations: 100.1 kB / 0.5311 GB, free: 90.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.406, allocations: 2.781 kB / 0.5311 GB, free: 90.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.4063, allocations: 16.2 kB / 0.5311 GB, free: 90.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.4063, allocations: 22.45 kB / 0.5311 GB, free: 90.75 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005469/0.4069, allocations: 476 kB / 0.5316 GB, free: 90.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006092/0.4075, allocations: 0.6992 MB / 0.5322 GB, free: 89.98 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001624/0.4077, allocations: 149.4 kB / 0.5324 GB, free: 89.9 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.224e-05/0.4077, allocations: 107 kB / 0.5325 GB, free: 89.82 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.4077, allocations: 0 / 0.5325 GB, free: 89.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005166/0.4129, allocations: 1.372 MB / 0.5338 GB, free: 89.63 MB / 414.1 MB Notification: Performance of SimCode: time 0.0008628/0.4138, allocations: 0.8954 MB / 0.5347 GB, free: 88.88 MB / 414.1 MB Notification: Performance of Templates: time 0.03716/0.4509, allocations: 37.51 MB / 0.5713 GB, free: 55.4 MB / 414.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.pipe 2>&1)