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.001305/0.001305, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001556/0.001556, allocations: 215.3 kB / 22.24 MB, free: 5.246 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.809 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.07868/0.07868, allocations: 9.13 MB / 321.5 MB, free: 10.23 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.001974/0.001974, allocations: 71.89 kB / 447 MB, free: 92 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1148, allocations: 54.94 MB / 0.4902 GB, free: 9.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02149/0.1362, allocations: 16.61 MB / 0.5064 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005019/0.1413, allocations: 4.323 MB / 0.5106 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1414, allocations: 4 kB / 0.5106 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.1424, allocations: 286.6 kB / 0.5109 GB, free: 3.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.1444, allocations: 0.7319 MB / 0.5116 GB, free: 3.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004658/0.1491, allocations: 1.879 MB / 0.5134 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.1494, allocations: 175.1 kB / 0.5136 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.312e-05/0.1494, allocations: 5.312 kB / 0.5136 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.1497, allocations: 99.55 kB / 0.5137 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1498, allocations: 55.67 kB / 0.5138 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.1498, allocations: 4 kB / 0.5138 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2728/0.4226, allocations: 2.596 MB / 0.5163 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.32e-05/0.4226, allocations: 16.16 kB / 0.5163 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.4227, allocations: 49.27 kB / 0.5164 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0025/0.4252, allocations: 1.298 MB / 0.5176 GB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4252, allocations: 3.094 kB / 0.5176 GB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4253, allocations: 0 / 0.5176 GB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4253, allocations: 1 kB / 0.5176 GB, free: 10.35 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.0009429/0.4262, allocations: 0.548 MB / 0.5182 GB, free: 9.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4262, allocations: 9.531 kB / 0.5182 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.4263, allocations: 18.05 kB / 0.5182 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.843e-05/0.4264, allocations: 120.2 kB / 0.5183 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.4264, allocations: 3.188 kB / 0.5183 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.4264, allocations: 11.33 kB / 0.5183 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.4267, allocations: 201.5 kB / 0.5185 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4267, allocations: 0 / 0.5185 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4267, allocations: 5.391 kB / 0.5185 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.4268, allocations: 8.078 kB / 0.5185 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.4272, allocations: 283.5 kB / 0.5188 GB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.4278, allocations: 471.5 kB / 0.5193 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.428, allocations: 208.1 kB / 0.5194 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.4282, allocations: 170.1 kB / 0.5196 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003249/0.4315, allocations: 0.8034 MB / 0.5204 GB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.4315, allocations: 34.59 kB / 0.5204 GB, free: 9.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 1.834e-06/0.4315, allocations: 0 / 0.5204 GB, free: 9.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.000814/0.4323, allocations: 0.5961 MB / 0.521 GB, free: 9.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.4323, allocations: 54.28 kB / 0.5211 GB, free: 9.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.097e-05/0.4324, allocations: 104 kB / 0.5212 GB, free: 9.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.4324, allocations: 28.77 kB / 0.5212 GB, free: 9.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.4324, allocations: 87.67 kB / 0.5213 GB, free: 9.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.4325, allocations: 115.7 kB / 0.5214 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.4326, allocations: 38.89 kB / 0.5214 GB, free: 9.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.4326, allocations: 322.5 kB / 0.5217 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002124/0.4328, allocations: 155.1 kB / 0.5219 GB, free: 8.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.433, allocations: 151.9 kB / 0.522 GB, free: 8.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.4335, allocations: 340.6 kB / 0.5223 GB, free: 8.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4335, allocations: 0.5625 kB / 0.5223 GB, free: 8.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000521/0.434, allocations: 389.2 kB / 0.5227 GB, free: 8.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.434, allocations: 9.609 kB / 0.5227 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.434, allocations: 1 kB / 0.5227 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.434, allocations: 5.062 kB / 0.5227 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.4342, allocations: 30.38 kB / 0.5228 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4342, allocations: 1.219 kB / 0.5228 GB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.708e-05/0.4342, allocations: 28.89 kB / 0.5228 GB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.4343, allocations: 4.047 kB / 0.5228 GB, free: 8.617 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 6.653e-05/0.4343, allocations: 123.2 kB / 0.5229 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.4344, allocations: 9.203 kB / 0.5229 GB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/0.435, allocations: 435.1 kB / 0.5233 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.435, allocations: 10.56 kB / 0.5233 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.435, allocations: 3.938 kB / 0.5233 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.435, allocations: 2.609 kB / 0.5234 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.4352, allocations: 224.3 kB / 0.5236 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.4352, allocations: 1.094 kB / 0.5236 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.4354, allocations: 35.62 kB / 0.5236 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4354, allocations: 0 / 0.5236 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.4354, allocations: 3.484 kB / 0.5236 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4354, allocations: 0.6094 kB / 0.5236 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.4354, allocations: 3.938 kB / 0.5236 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.4359, allocations: 492.8 kB / 0.5241 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.436, allocations: 29.88 kB / 0.5241 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.436, allocations: 4.531 kB / 0.5241 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.4361, allocations: 7.516 kB / 0.5241 GB, free: 8.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.4361, allocations: 21.81 kB / 0.5241 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.4361, allocations: 2.406 kB / 0.5241 GB, free: 8.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.612e-05/0.4362, allocations: 85.27 kB / 0.5242 GB, free: 8.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4362, allocations: 3.375 kB / 0.5242 GB, free: 8.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001006/0.4372, allocations: 429.1 kB / 0.5246 GB, free: 7.973 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.001385/0.4385, allocations: 0.6412 MB / 0.5253 GB, free: 7.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.4391, allocations: 342.3 kB / 0.5256 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4391, allocations: 0 / 0.5256 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.4394, allocations: 169.7 kB / 0.5257 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.4399, allocations: 82.23 kB / 0.5258 GB, free: 7.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.4405, allocations: 366.4 kB / 0.5262 GB, free: 7.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.941e-05/0.4405, allocations: 104.6 kB / 0.5263 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.951e-05/0.4406, allocations: 18 kB / 0.5263 GB, free: 7.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.4407, allocations: 16.72 kB / 0.5263 GB, free: 7.523 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4407, allocations: 4 kB / 0.5263 GB, free: 7.52 MB / 382.1 MB Notification: Performance of Templates: time 0.0206/0.4613, allocations: 12.04 MB / 0.5381 GB, free: 4.543 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.530247827991843] Failed to read output from testmodel.py, exit status != 0: 0.46852914802730083 0.480517439 0.052284647000000004 Calling exit ...