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.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.001336/0.001336, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001578/0.001578, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.564/1.564, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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.05476/0.05476, allocations: 9.137 MB / 321.6 MB, free: 10.25 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.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") translateModel(HelmholtzMedia.Examples.Validation.CheckDerivativesWater,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 59.89 kB / 447 MB, free: 116 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1158, allocations: 54.95 MB / 0.4902 GB, free: 9.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01869/0.1345, allocations: 11.85 MB / 0.5018 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.1471, allocations: 7.513 MB / 0.5091 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.1472, allocations: 0 / 0.5091 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1475, allocations: 35.75 kB / 0.5091 GB, free: 5.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00685/0.1543, allocations: 1.885 MB / 0.511 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007368/0.1617, allocations: 2.258 MB / 0.5132 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.1619, allocations: 131.1 kB / 0.5133 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.162, allocations: 4 kB / 0.5133 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.1621, allocations: 43.8 kB / 0.5134 GB, free: 1.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1622, allocations: 43.84 kB / 0.5134 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.1622, allocations: 0 / 0.5134 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.271/0.4332, allocations: 6.626 MB / 0.5199 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.4333, allocations: 14.45 kB / 0.5199 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.4334, allocations: 44.92 kB / 0.5199 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01164/0.4451, allocations: 3.788 MB / 0.5236 GB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4451, allocations: 1.062 kB / 0.5236 GB, free: 9.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4451, allocations: 0 / 0.5236 GB, free: 9.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.4451, allocations: 3.281 kB / 0.5236 GB, free: 9.969 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.004215/0.4493, allocations: 0.834 MB / 0.5245 GB, free: 9.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4493, allocations: 9.25 kB / 0.5245 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004185/0.4497, allocations: 42.94 kB / 0.5245 GB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.4499, allocations: 150.6 kB / 0.5246 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.45, allocations: 12.59 kB / 0.5247 GB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.45, allocations: 12.88 kB / 0.5247 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008246/0.4508, allocations: 260.8 kB / 0.5249 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.4508, allocations: 0 / 0.5249 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.4509, allocations: 5.312 kB / 0.5249 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4509, allocations: 3.312 kB / 0.5249 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.4515, allocations: 212.2 kB / 0.5251 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000551/0.4521, allocations: 411.5 kB / 0.5255 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/0.4529, allocations: 226.5 kB / 0.5257 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.453, allocations: 56.81 kB / 0.5258 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.131/0.584, allocations: 35.07 MB / 0.56 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.415e-05/0.584, allocations: 35.66 kB / 0.5601 GB, free: 4.414 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 3.236e-06/0.584, allocations: 4 kB / 0.5601 GB, free: 4.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001868/0.5859, allocations: 367.1 kB / 0.5604 GB, free: 4.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.586, allocations: 93.64 kB / 0.5605 GB, free: 4.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.5861, allocations: 123.1 kB / 0.5606 GB, free: 3.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.5862, allocations: 28.02 kB / 0.5607 GB, free: 3.867 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.5863, allocations: 94.34 kB / 0.5608 GB, free: 3.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.342e-05/0.5863, allocations: 57.77 kB / 0.5608 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.5865, allocations: 52.06 kB / 0.5609 GB, free: 3.684 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.5866, allocations: 322.8 kB / 0.5612 GB, free: 3.363 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5868, allocations: 58.55 kB / 0.5612 GB, free: 3.324 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.587, allocations: 93.66 kB / 0.5613 GB, free: 3.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.5873, allocations: 148.3 kB / 0.5615 GB, free: 3.137 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5873, allocations: 7.656 kB / 0.5615 GB, free: 3.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005341/0.5878, allocations: 219.1 kB / 0.5617 GB, free: 2.977 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.5879, allocations: 6.5 kB / 0.5617 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5879, allocations: 4 kB / 0.5617 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.5879, allocations: 0 / 0.5617 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.5881, allocations: 61.58 kB / 0.5617 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5881, allocations: 0 / 0.5617 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.5883, allocations: 12.02 kB / 0.5617 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.5883, allocations: 18.73 kB / 0.5618 GB, free: 2.895 MB / 398.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 0.0001448/0.5884, allocations: 123.5 kB / 0.5619 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.898e-05/0.5885, allocations: 11.25 kB / 0.5619 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.5909, allocations: 2.248 MB / 0.5641 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.5909, allocations: 11.92 kB / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5909, allocations: 0 / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.5909, allocations: 0 / 0.5641 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.5921, allocations: 1.02 MB / 0.5651 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5921, allocations: 4 kB / 0.5651 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.5923, allocations: 34.59 kB / 0.5651 GB, free: 184 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.5923, allocations: 4 kB / 0.5651 GB, free: 180 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.5923, allocations: 4 kB / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5923, allocations: 0 / 0.5651 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.5924, allocations: 7.922 kB / 0.5651 GB, free: 168 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009613/0.5933, allocations: 0.6559 MB / 0.5658 GB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-05/0.5934, allocations: 24.72 kB / 0.5658 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.5934, allocations: 4 kB / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.5936, allocations: 0 / 0.5658 GB, free: 15.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.5936, allocations: 15.92 kB / 0.5658 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.5936, allocations: 8.062 kB / 0.5658 GB, free: 15.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.487e-05/0.5937, allocations: 99.27 kB / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5937, allocations: 0 / 0.5659 GB, free: 15.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006058/0.5998, allocations: 0.9201 MB / 0.5668 GB, free: 14.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (d_p_int,d_h_int) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.01026/0.61, allocations: 1.111 MB / 0.5679 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006304/0.6107, allocations: 211.3 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/0.6107, allocations: 4 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.6109, allocations: 130 kB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007547/0.6117, allocations: 65.33 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.6131, allocations: 0.5754 MB / 0.5689 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.6133, allocations: 125.1 kB / 0.569 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005841/0.6138, allocations: 375.8 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.614, allocations: 31.42 kB / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.614, allocations: 0 / 0.5694 GB, free: 11.92 MB / 414.1 MB Notification: Performance of Templates: time 0.05722/0.6712, allocations: 33.93 MB / 0.6025 GB, free: 10.07 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.CheckDerivativesWater.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.238430000841618] Failed to read output from testmodel.py, exit status != 0: 0.6794465146958828 0.695354056 0.24683795999999994 Calling exit ...