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.001755/0.001755, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 13.93 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.002087/0.002087, allocations: 173.2 kB / 22.76 MB, free: 1.66 MB / 18.57 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.551/1.551, allocations: 177.1 MB / 203.1 MB, free: 5.258 MB / 186.7 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.08772/0.08772, allocations: 7.518 MB / 267.1 MB, free: 5.891 MB / 250.7 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 1.373e-06/1.373e-06, allocations: 0 / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.889e-05/2.026e-05, allocations: 5.266 kB / 337.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02007/0.02009, allocations: 18.3 MB / 356.2 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006065/0.02615, allocations: 4.931 MB / 361.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.44e-05/0.02623, allocations: 0 / 361.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008838/0.02711, allocations: 290.4 kB / 361.4 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.02905, allocations: 0.7395 MB / 362.2 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004765/0.03381, allocations: 1.904 MB / 364.1 MB, free: 1.102 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.03409, allocations: 179 kB / 364.2 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.806e-05/0.03414, allocations: 17.28 kB / 364.3 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.03445, allocations: 127.5 kB / 364.4 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.03455, allocations: 47.89 kB / 364.4 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.03457, allocations: 4 kB / 364.4 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004794/0.03936, allocations: 2.615 MB / 367 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.489e-05/0.03939, allocations: 15.86 kB / 367.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.696e-05/0.03947, allocations: 47.86 kB / 367.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002747/0.04221, allocations: 1.543 MB / 368.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.04222, allocations: 0 / 368.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.04222, allocations: 0 / 368.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.04222, allocations: 0 / 368.7 MB, free: 12.5 MB / 298.7 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.00107/0.04329, allocations: 0.6423 MB / 369.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.04333, allocations: 8.625 kB / 369.3 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.242e-05/0.04339, allocations: 11.95 kB / 369.3 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.04353, allocations: 135.8 kB / 369.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.04354, allocations: 0 / 369.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.04356, allocations: 11.94 kB / 369.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.04381, allocations: 107.9 kB / 369.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.04383, allocations: 4 kB / 369.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.04384, allocations: 4 kB / 369.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.04385, allocations: 3.984 kB / 369.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004948/0.04434, allocations: 143.7 kB / 369.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.04497, allocations: 426 kB / 370.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.04524, allocations: 131 kB / 370.3 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.04539, allocations: 83.81 kB / 370.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003399/0.04878, allocations: 0.7514 MB / 371.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.04883, allocations: 41.38 kB / 371.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.312e-06/0.04883, allocations: 0 / 371.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006951/0.04952, allocations: 366 kB / 371.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.04957, allocations: 55.34 kB / 371.5 MB, free: 9.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.0497, allocations: 169.9 kB / 371.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.04973, allocations: 33.7 kB / 371.7 MB, free: 9.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.228e-05/0.04981, allocations: 131.5 kB / 371.9 MB, free: 9.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.04993, allocations: 126.9 kB / 372 MB, free: 8.973 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.149e-05/0.05, allocations: 43.36 kB / 372 MB, free: 8.922 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002797/0.05028, allocations: 0.4923 MB / 372.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.05042, allocations: 63.98 kB / 372.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.05055, allocations: 71.97 kB / 372.7 MB, free: 8.285 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.05084, allocations: 170 kB / 372.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.05084, allocations: 0 / 372.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004264/0.05127, allocations: 234.6 kB / 373.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.05128, allocations: 11.94 kB / 373.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.05128, allocations: 0 / 373.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.0513, allocations: 4 kB / 373.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.05141, allocations: 19.98 kB / 373.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.05142, allocations: 3.938 kB / 373.1 MB, free: 7.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.05149, allocations: 19.84 kB / 373.1 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.0515, allocations: 7.984 kB / 373.1 MB, free: 7.812 MB / 298.7 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 0.0001316/0.05163, allocations: 164.6 kB / 373.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.05168, allocations: 15.91 kB / 373.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00053/0.05221, allocations: 283.5 kB / 373.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.05222, allocations: 7.938 kB / 373.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.05222, allocations: 0 / 373.6 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/0.05223, allocations: 3.938 kB / 373.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/0.0525, allocations: 193.8 kB / 373.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.0525, allocations: 0 / 373.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.0526, allocations: 27.98 kB / 373.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.0526, allocations: 0 / 373.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.05261, allocations: 0 / 373.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.05262, allocations: 4 kB / 373.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.05262, allocations: 0 / 373.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005332/0.05315, allocations: 404.7 kB / 374.2 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.98e-05/0.05321, allocations: 35.81 kB / 374.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.05323, allocations: 0 / 374.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.05331, allocations: 4.25 kB / 374.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.05336, allocations: 15.97 kB / 374.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.05337, allocations: 4 kB / 374.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.379e-05/0.05345, allocations: 135.1 kB / 374.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05345, allocations: 0 / 374.4 MB, free: 6.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009342/0.05439, allocations: 430.6 kB / 374.8 MB, free: 6.047 MB / 298.7 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.001553/0.05594, allocations: 0.6888 MB / 375.5 MB, free: 5.348 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003805/0.05632, allocations: 186.5 kB / 375.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.05632, allocations: 0 / 375.7 MB, free: 5.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.0565, allocations: 103.6 kB / 375.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.0571, allocations: 79.05 kB / 375.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.05763, allocations: 279.1 kB / 376.1 MB, free: 4.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.05773, allocations: 102.3 kB / 376.2 MB, free: 4.562 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.636e-05/0.05783, allocations: 18.75 kB / 376.3 MB, free: 4.551 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.05787, allocations: 16.5 kB / 376.3 MB, free: 4.535 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.05787, allocations: 0 / 376.3 MB, free: 4.535 MB / 298.7 MB Notification: Performance of Templates: time 0.02251/0.08038, allocations: 11.92 MB / 388.2 MB, free: 8.68 MB / 314.7 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=240 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.359219211968593]