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.001318/0.001318, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001503/0.001503, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.05206/0.05206, allocations: 9.142 MB / 322.3 MB, free: 10.45 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.002001/0.002001, allocations: 71.89 kB / 447.9 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1064, allocations: 54.94 MB / 0.491 GB, free: 9.508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.CheckDerivativesWater): time 0.01663/0.123, allocations: 13.05 MB / 0.5038 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01044/0.1335, allocations: 8.63 MB / 0.5122 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.1336, allocations: 4 kB / 0.5122 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001867/0.1337, allocations: 43.72 kB / 0.5122 GB, free: 3.703 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004812/0.1386, allocations: 1.889 MB / 0.5141 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2234/0.3619, allocations: 2.265 MB / 0.5163 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.3621, allocations: 124.9 kB / 0.5164 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.3622, allocations: 5.812 kB / 0.5164 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.946e-05/0.3622, allocations: 45.56 kB / 0.5165 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.295e-05/0.3623, allocations: 46.91 kB / 0.5165 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3624, allocations: 3.969 kB / 0.5165 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/0.3756, allocations: 6.954 MB / 0.5233 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.3756, allocations: 13.39 kB / 0.5233 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.3758, allocations: 53.72 kB / 0.5234 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01262/0.3884, allocations: 3.794 MB / 0.5271 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3884, allocations: 1 kB / 0.5271 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3884, allocations: 1.125 kB / 0.5271 GB, free: 9.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.3884, allocations: 0 / 0.5271 GB, free: 9.098 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.004125/0.3926, allocations: 0.8376 MB / 0.5279 GB, free: 8.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3926, allocations: 8.844 kB / 0.5279 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/0.393, allocations: 46.75 kB / 0.528 GB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.3932, allocations: 145.6 kB / 0.5281 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3932, allocations: 9.359 kB / 0.5281 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.3933, allocations: 11.31 kB / 0.5281 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.3941, allocations: 268.4 kB / 0.5284 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3941, allocations: 1.156 kB / 0.5284 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3941, allocations: 0.9062 kB / 0.5284 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3941, allocations: 10.75 kB / 0.5284 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007139/0.3948, allocations: 211 kB / 0.5286 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.3954, allocations: 0.6436 MB / 0.5292 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000805/0.3963, allocations: 229.8 kB / 0.5294 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.608e-05/0.3963, allocations: 52.92 kB / 0.5295 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1143/0.5106, allocations: 34.94 MB / 0.5636 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.64e-05/0.5107, allocations: 32.67 kB / 0.5636 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 2.615e-06/0.5107, allocations: 4 kB / 0.5636 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001681/0.5123, allocations: 372.4 kB / 0.564 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.5124, allocations: 81.11 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.5125, allocations: 137.7 kB / 0.5642 GB, free: 420 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.5125, allocations: 25.7 kB / 0.5642 GB, free: 388 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.5126, allocations: 96.97 kB / 0.5643 GB, free: 296 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.5127, allocations: 51.17 kB / 0.5644 GB, free: 252 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.5128, allocations: 60.23 kB / 0.5644 GB, free: 200 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.5129, allocations: 322.8 kB / 0.5647 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.5131, allocations: 61.88 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.5132, allocations: 91.11 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.5135, allocations: 147 kB / 0.565 GB, free: 15.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5135, allocations: 4 kB / 0.565 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005109/0.514, allocations: 208 kB / 0.5652 GB, free: 15.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.514, allocations: 8 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.514, allocations: 3.984 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5141, allocations: 3.938 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.5143, allocations: 63.48 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.964e-06/0.5143, allocations: 4 kB / 0.5653 GB, free: 15.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.5144, allocations: 9.281 kB / 0.5653 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.5144, allocations: 19.86 kB / 0.5653 GB, free: 15.41 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 0.0001345/0.5146, allocations: 130.2 kB / 0.5655 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.5147, allocations: 11.91 kB / 0.5655 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002363/0.517, allocations: 2.256 MB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.185e-05/0.517, allocations: 4 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.517, allocations: 3.984 kB / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5171, allocations: 0 / 0.5677 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.5182, allocations: 1.066 MB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5182, allocations: 0 / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.5184, allocations: 41.47 kB / 0.5688 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.5184, allocations: 3.984 kB / 0.5688 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.5185, allocations: 13.53 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5185, allocations: 0 / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5185, allocations: 1.203 kB / 0.5688 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007715/0.5192, allocations: 0.6559 MB / 0.5694 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.5193, allocations: 15.84 kB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.104e-05/0.5193, allocations: 16 kB / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.5195, allocations: 0 / 0.5694 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.5195, allocations: 13.14 kB / 0.5695 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.5195, allocations: 8 kB / 0.5695 GB, free: 11.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.076e-05/0.5196, allocations: 99.27 kB / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5196, allocations: 0 / 0.5696 GB, free: 11.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005767/0.5254, allocations: 0.9201 MB / 0.5705 GB, free: 10.12 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.007912/0.5333, allocations: 1.114 MB / 0.5715 GB, free: 9.113 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005865/0.5339, allocations: 203 kB / 0.5717 GB, free: 8.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5339, allocations: 4 kB / 0.5717 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.5341, allocations: 129.4 kB / 0.5719 GB, free: 8.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.5348, allocations: 67.17 kB / 0.5719 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.5359, allocations: 0.6084 MB / 0.5725 GB, free: 8.109 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.5364, allocations: 0.7328 MB / 0.5732 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.5365, allocations: 39.41 kB / 0.5733 GB, free: 7.309 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5365, allocations: 4 kB / 0.5733 GB, free: 7.305 MB / 414.1 MB Notification: Performance of Templates: time 0.03263/0.5691, allocations: 18.78 MB / 0.5916 GB, free: 4.531 MB / 430.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: 8.200593161978759] Failed to read output from testmodel.py, exit status != 0: 0.5773058350896463 0.593313384 0.201444657 Calling exit ...