Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.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.001245/0.001245, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00146/0.00146, allocations: 217 kB / 22.26 MB, free: 5.125 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.961 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.05156/0.05156, allocations: 9.14 MB / 321.6 MB, free: 10.39 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.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 63.91 kB / 447.1 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1139, allocations: 54.94 MB / 0.4902 GB, free: 9.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02295/0.1369, allocations: 18.39 MB / 0.5082 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005457/0.1423, allocations: 4.903 MB / 0.513 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1424, allocations: 0 / 0.513 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.1435, allocations: 362.3 kB / 0.5133 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.1453, allocations: 0.7437 MB / 0.5141 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2226/0.3679, allocations: 1.902 MB / 0.5159 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.3681, allocations: 172.1 kB / 0.5161 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.3682, allocations: 12.06 kB / 0.5161 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.3684, allocations: 96.33 kB / 0.5162 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.3685, allocations: 52.39 kB / 0.5162 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3685, allocations: 6.781 kB / 0.5163 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005746/0.3743, allocations: 3.616 MB / 0.5198 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.3743, allocations: 14.75 kB / 0.5198 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.3744, allocations: 55.38 kB / 0.5199 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.3772, allocations: 1.468 MB / 0.5213 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3772, allocations: 0.6562 kB / 0.5213 GB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3772, allocations: 0 / 0.5213 GB, free: 9.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.3772, allocations: 3.812 kB / 0.5213 GB, free: 9.012 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000875/0.3781, allocations: 0.5485 MB / 0.5218 GB, free: 8.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.3781, allocations: 11.12 kB / 0.5218 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3781, allocations: 12.25 kB / 0.5218 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.521e-05/0.3782, allocations: 131.7 kB / 0.522 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3782, allocations: 0.6094 kB / 0.522 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.407e-05/0.3782, allocations: 10.94 kB / 0.522 GB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.3786, allocations: 200.8 kB / 0.5222 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3786, allocations: 0.5938 kB / 0.5222 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3786, allocations: 4.625 kB / 0.5222 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.3786, allocations: 4.75 kB / 0.5222 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003888/0.379, allocations: 280.5 kB / 0.5225 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.3796, allocations: 0.5066 MB / 0.5229 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.3799, allocations: 208.7 kB / 0.5231 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.3801, allocations: 161.2 kB / 0.5233 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003307/0.3834, allocations: 0.8046 MB / 0.5241 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.3834, allocations: 33.62 kB / 0.5241 GB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.3834, allocations: 0 / 0.5241 GB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008339/0.3843, allocations: 0.6037 MB / 0.5247 GB, free: 7.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.3843, allocations: 57.09 kB / 0.5248 GB, free: 7.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.804e-05/0.3843, allocations: 102.1 kB / 0.5249 GB, free: 7.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.3844, allocations: 28.95 kB / 0.5249 GB, free: 7.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.494e-05/0.3844, allocations: 84.17 kB / 0.525 GB, free: 7.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.3844, allocations: 119.6 kB / 0.5251 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.3845, allocations: 45.42 kB / 0.5251 GB, free: 7.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.3846, allocations: 321.8 kB / 0.5254 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.3847, allocations: 150.7 kB / 0.5256 GB, free: 7.309 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.3849, allocations: 156.3 kB / 0.5257 GB, free: 7.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.3853, allocations: 333.7 kB / 0.526 GB, free: 7.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3853, allocations: 0 / 0.526 GB, free: 7.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004519/0.3858, allocations: 394.2 kB / 0.5264 GB, free: 7.246 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3858, allocations: 4.406 kB / 0.5264 GB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3858, allocations: 5.469 kB / 0.5264 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3858, allocations: 0.6094 kB / 0.5264 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.3859, allocations: 27.06 kB / 0.5265 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.3859, allocations: 0.5 kB / 0.5265 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.386, allocations: 27.88 kB / 0.5265 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.386, allocations: 4.812 kB / 0.5265 GB, free: 7.227 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.939e-05/0.3861, allocations: 125.9 kB / 0.5266 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.3861, allocations: 10.38 kB / 0.5266 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005487/0.3867, allocations: 433.4 kB / 0.527 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3867, allocations: 11.12 kB / 0.527 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3867, allocations: 1.094 kB / 0.527 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3867, allocations: 2.516 kB / 0.527 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.3869, allocations: 265.9 kB / 0.5273 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3869, allocations: 1.125 kB / 0.5273 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.607e-05/0.387, allocations: 28.59 kB / 0.5273 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.387, allocations: 1.844 kB / 0.5273 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.387, allocations: 4.594 kB / 0.5273 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.387, allocations: 3.891 kB / 0.5273 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.387, allocations: 0.5625 kB / 0.5273 GB, free: 6.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005004/0.3875, allocations: 496.5 kB / 0.5278 GB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.272e-05/0.3876, allocations: 31.66 kB / 0.5278 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.3876, allocations: 9.828 kB / 0.5278 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.3877, allocations: 6.219 kB / 0.5279 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.3877, allocations: 12.67 kB / 0.5279 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3877, allocations: 8.141 kB / 0.5279 GB, free: 6.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.519e-05/0.3878, allocations: 88.44 kB / 0.528 GB, free: 6.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3878, allocations: 0 / 0.528 GB, free: 6.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001363/0.3891, allocations: 428 kB / 0.5284 GB, free: 6.555 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001345/0.3905, allocations: 0.6448 MB / 0.529 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004961/0.391, allocations: 341.2 kB / 0.5293 GB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.391, allocations: 0 / 0.5293 GB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.3912, allocations: 171.8 kB / 0.5295 GB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.3917, allocations: 72.41 kB / 0.5296 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.3922, allocations: 367 kB / 0.5299 GB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.3923, allocations: 0.718 MB / 0.5306 GB, free: 5.488 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.407e-05/0.3924, allocations: 23.05 kB / 0.5306 GB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.3925, allocations: 17.19 kB / 0.5306 GB, free: 5.477 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3925, allocations: 0 / 0.5306 GB, free: 5.477 MB / 382.1 MB Notification: Performance of Templates: time 0.0181/0.4105, allocations: 11.9 MB / 0.5423 GB, free: 1.531 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.341139038093388] Failed to read output from testmodel.py, exit status != 0: 0.41773797292262316 0.430949377 0.050671722 Calling exit ...