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.00103/0.00103, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001021/0.001021, allocations: 169 kB / 24.05 MB, free: 456 kB / 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.953/0.953, allocations: 177.1 MB / 204.5 MB, free: 5.477 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.03114/0.03114, allocations: 7.518 MB / 268.6 MB, free: 5.816 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.142e-06/1.142e-06, allocations: 0 / 339.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.169e-05/1.283e-05, allocations: 4.562 kB / 339.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01193/0.01195, allocations: 18.05 MB / 357.9 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.01545, allocations: 4.821 MB / 362.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.01554, allocations: 0 / 362.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006549/0.0162, allocations: 294.4 kB / 363 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.01757, allocations: 0.7356 MB / 363.8 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.02072, allocations: 1.912 MB / 365.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.02094, allocations: 183 kB / 365.9 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.645e-05/0.02099, allocations: 13.31 kB / 365.9 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002139/0.0212, allocations: 127.5 kB / 366 MB, free: 492 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.02126, allocations: 39.91 kB / 366 MB, free: 452 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.02127, allocations: 4 kB / 366 MB, free: 448 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.02438, allocations: 2.623 MB / 368.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/0.02441, allocations: 19.91 kB / 368.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.452e-05/0.02449, allocations: 35.94 kB / 368.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002664/0.02715, allocations: 1.535 MB / 370.2 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.02716, allocations: 4 kB / 370.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.02716, allocations: 0 / 370.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.02716, allocations: 0 / 370.3 MB, free: 12.21 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.001/0.02816, allocations: 0.646 MB / 370.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.0282, allocations: 8.625 kB / 370.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.02825, allocations: 19.95 kB / 370.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.02837, allocations: 127.8 kB / 371.1 MB, free: 11.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.02838, allocations: 4 kB / 371.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.02839, allocations: 8 kB / 371.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.02855, allocations: 104.6 kB / 371.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.02856, allocations: 0 / 371.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.02857, allocations: 4 kB / 371.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.02858, allocations: 7.984 kB / 371.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.47e-05/0.02866, allocations: 81.14 kB / 371.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003949/0.02906, allocations: 426.4 kB / 371.7 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.02918, allocations: 103 kB / 371.8 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.848e-05/0.02923, allocations: 63.88 kB / 371.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/0.03086, allocations: 0.6968 MB / 372.5 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.03088, allocations: 41.39 kB / 372.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.03088, allocations: 0 / 372.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0003171/0.0312, allocations: 300.8 kB / 372.9 MB, free: 9.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.03123, allocations: 51.41 kB / 372.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.636e-05/0.03129, allocations: 161.9 kB / 373.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.03131, allocations: 29.7 kB / 373.1 MB, free: 9.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.03135, allocations: 139.5 kB / 373.2 MB, free: 9.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/0.03142, allocations: 118.9 kB / 373.4 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.567e-05/0.03146, allocations: 47.34 kB / 373.4 MB, free: 8.875 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.03159, allocations: 0.5039 MB / 373.9 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.03163, allocations: 43.98 kB / 373.9 MB, free: 8.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/0.03167, allocations: 43.98 kB / 374 MB, free: 8.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.03177, allocations: 137.9 kB / 374.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.03178, allocations: 0 / 374.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001788/0.03196, allocations: 186.8 kB / 374.3 MB, free: 7.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.03197, allocations: 4 kB / 374.3 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.03198, allocations: 4 kB / 374.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.03199, allocations: 4 kB / 374.3 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.03206, allocations: 27.86 kB / 374.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.03207, allocations: 4 kB / 374.4 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.83e-05/0.03211, allocations: 31.7 kB / 374.4 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.03211, allocations: 256 / 374.4 MB, free: 7.871 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 7.947e-05/0.03219, allocations: 164.6 kB / 374.5 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.03222, allocations: 15.91 kB / 374.6 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.03247, allocations: 239.3 kB / 374.8 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.03247, allocations: 4 kB / 374.8 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.03247, allocations: 4 kB / 374.8 MB, free: 7.441 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.03248, allocations: 3.984 kB / 374.8 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.03263, allocations: 178.3 kB / 375 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.03263, allocations: 0 / 375 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.476e-05/0.03269, allocations: 23.98 kB / 375 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.03269, allocations: 0 / 375 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.0327, allocations: 8 kB / 375 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.0327, allocations: 0 / 375 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.0327, allocations: 0 / 375 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.03292, allocations: 356.8 kB / 375.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.03296, allocations: 31.81 kB / 375.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.03297, allocations: 4 kB / 375.4 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.03302, allocations: 8 kB / 375.4 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.03e-05/0.03305, allocations: 11.97 kB / 375.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.03305, allocations: 8 kB / 375.4 MB, free: 6.773 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.389e-05/0.03309, allocations: 123.2 kB / 375.5 MB, free: 6.652 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03309, allocations: 0 / 375.5 MB, free: 6.652 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007277/0.03381, allocations: 430.6 kB / 376 MB, free: 6.23 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.001058/0.03487, allocations: 0.7161 MB / 376.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.03504, allocations: 139.6 kB / 376.8 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.03504, allocations: 0 / 376.8 MB, free: 5.363 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.0351, allocations: 79.59 kB / 376.9 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.03543, allocations: 83.91 kB / 377 MB, free: 5.199 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.03604, allocations: 299 kB / 377.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.202e-05/0.03608, allocations: 72.34 kB / 377.3 MB, free: 4.789 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.851e-05/0.03615, allocations: 22.11 kB / 377.4 MB, free: 4.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.03626, allocations: 118.2 kB / 377.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03626, allocations: 0 / 377.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of Templates: time 0.01613/0.05239, allocations: 14.12 MB / 391.6 MB, free: 6.617 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: 3.4768832437694073]