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.0009559/0.0009559, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009056/0.0009056, allocations: 173.3 kB / 23.5 MB, free: 1.059 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 0.9008/0.9008, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.03032/0.03032, allocations: 7.525 MB / 267.8 MB, free: 6.062 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.704e-06/1.704e-06, allocations: 0 / 338.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.003e-05/2.173e-05, allocations: 4.562 kB / 338.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01434/0.01436, allocations: 18.34 MB / 357 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.01732, allocations: 4.927 MB / 361.9 MB, free: 5.156 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.01736, allocations: 3.938 kB / 361.9 MB, free: 5.152 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005421/0.0179, allocations: 286.5 kB / 362.2 MB, free: 4.871 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.01914, allocations: 0.7473 MB / 363 MB, free: 4.121 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.02118, allocations: 1.9 MB / 364.9 MB, free: 2.211 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001453/0.02132, allocations: 179 kB / 365 MB, free: 2.035 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.02136, allocations: 9.312 kB / 365 MB, free: 2.023 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.02152, allocations: 143.4 kB / 365.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.02158, allocations: 35.91 kB / 365.2 MB, free: 1.848 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.02159, allocations: 4 kB / 365.2 MB, free: 1.844 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.0238, allocations: 2.615 MB / 367.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.02381, allocations: 15.92 kB / 367.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.02386, allocations: 39.92 kB / 367.9 MB, free: 15.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.0252, allocations: 1.535 MB / 369.4 MB, free: 13.63 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.0252, allocations: 4 kB / 369.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0252, allocations: 0 / 369.4 MB, free: 13.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.02521, allocations: 0 / 369.4 MB, free: 13.62 MB / 346.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.0007252/0.02593, allocations: 0.646 MB / 370.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.02597, allocations: 8.625 kB / 370.1 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.02601, allocations: 23.91 kB / 370.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/0.02609, allocations: 127.9 kB / 370.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.02611, allocations: 0 / 370.2 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.02612, allocations: 4 kB / 370.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.02628, allocations: 124.6 kB / 370.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.02628, allocations: 0 / 370.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.02629, allocations: 4 kB / 370.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.0263, allocations: 4 kB / 370.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000105/0.02641, allocations: 111.9 kB / 370.5 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.02678, allocations: 430.1 kB / 370.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.02691, allocations: 119 kB / 371 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.374e-05/0.02697, allocations: 81 kB / 371.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/0.02845, allocations: 0.7476 MB / 371.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.02847, allocations: 41.39 kB / 371.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 1.393e-06/0.02847, allocations: 0 / 371.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=35): time 0.0003382/0.02881, allocations: 344.8 kB / 372.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.02883, allocations: 51.41 kB / 372.3 MB, free: 10.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.0289, allocations: 173.8 kB / 372.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.02891, allocations: 25.7 kB / 372.5 MB, free: 10.42 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.677e-05/0.02894, allocations: 135.5 kB / 372.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.739e-05/0.029, allocations: 118.9 kB / 372.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.02904, allocations: 51.36 kB / 372.8 MB, free: 10.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.02914, allocations: 0.5001 MB / 373.3 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.02919, allocations: 52 kB / 373.3 MB, free: 9.543 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.02925, allocations: 67.84 kB / 373.4 MB, free: 9.477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.02937, allocations: 154 kB / 373.5 MB, free: 9.324 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.02937, allocations: 3.984 kB / 373.5 MB, free: 9.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001832/0.02956, allocations: 222.7 kB / 373.7 MB, free: 9.094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.02957, allocations: 4 kB / 373.7 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.02957, allocations: 0 / 373.7 MB, free: 9.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.02958, allocations: 7.938 kB / 373.8 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.569e-05/0.02966, allocations: 27.92 kB / 373.8 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.02966, allocations: 7.938 kB / 373.8 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.068e-05/0.02969, allocations: 19.83 kB / 373.8 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.0297, allocations: 4 kB / 373.8 MB, free: 9.023 MB / 346.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 6.053e-05/0.02976, allocations: 156.6 kB / 374 MB, free: 8.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.02978, allocations: 19.89 kB / 374 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.03003, allocations: 259 kB / 374.2 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.03004, allocations: 7.984 kB / 374.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.03004, allocations: 0 / 374.2 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.03004, allocations: 7.938 kB / 374.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.03018, allocations: 190 kB / 374.4 MB, free: 8.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.03018, allocations: 3.984 kB / 374.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.688e-05/0.03023, allocations: 23.98 kB / 374.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.03023, allocations: 4 kB / 374.5 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.03023, allocations: 4 kB / 374.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.02e-07/0.03024, allocations: 0 / 374.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.03024, allocations: 0 / 374.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.03046, allocations: 384.7 kB / 374.8 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.471e-05/0.03049, allocations: 27.86 kB / 374.9 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.0305, allocations: 4 kB / 374.9 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.03055, allocations: 4 kB / 374.9 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.03058, allocations: 19.97 kB / 374.9 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.03059, allocations: 4 kB / 374.9 MB, free: 7.863 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.03062, allocations: 131.1 kB / 375 MB, free: 7.734 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03062, allocations: 0 / 375 MB, free: 7.734 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004804/0.0311, allocations: 430.6 kB / 375.5 MB, free: 7.312 MB / 346.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.0008936/0.03199, allocations: 0.7005 MB / 376.2 MB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.03219, allocations: 167.5 kB / 376.3 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.03219, allocations: 3.938 kB / 376.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-05/0.03226, allocations: 99.53 kB / 376.4 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.03258, allocations: 67.91 kB / 376.5 MB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007501/0.03333, allocations: 299.2 kB / 376.8 MB, free: 5.941 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.867e-05/0.03337, allocations: 72.34 kB / 376.8 MB, free: 5.848 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.03342, allocations: 20.17 kB / 376.9 MB, free: 5.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.632e-05/0.03345, allocations: 24.48 kB / 376.9 MB, free: 5.805 MB / 346.7 MB Notification: Performance of SimCode: time 7.62e-07/0.03345, allocations: 0 / 376.9 MB, free: 5.805 MB / 346.7 MB Notification: Performance of Templates: time 0.01147/0.04492, allocations: 11.92 MB / 388.8 MB, free: 9.957 MB / 362.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: 2.9414719662163407]