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.0009666/0.0009666, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.0008834/0.0008834, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.8858/0.8858, allocations: 177.1 MB / 203.7 MB, free: 5.488 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.04113/0.04113, allocations: 7.517 MB / 267.8 MB, free: 5.828 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.803e-06/1.803e-06, allocations: 0 / 339.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.875e-05, allocations: 2.312 kB / 339.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01247/0.01249, allocations: 18.04 MB / 357.1 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003142/0.01563, allocations: 4.817 MB / 362 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.12e-05/0.01568, allocations: 4 kB / 362 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.01625, allocations: 298.4 kB / 362.3 MB, free: 3.453 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.0174, allocations: 0.7317 MB / 363 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.0196, allocations: 1.908 MB / 364.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.01976, allocations: 179 kB / 365.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.0198, allocations: 13.3 kB / 365.1 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.01998, allocations: 135.5 kB / 365.2 MB, free: 492 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.924e-05/0.02004, allocations: 39.89 kB / 365.2 MB, free: 452 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.02005, allocations: 4 kB / 365.3 MB, free: 448 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.02246, allocations: 2.627 MB / 367.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.02247, allocations: 11.92 kB / 367.9 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.02252, allocations: 39.92 kB / 367.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.02395, allocations: 1.539 MB / 369.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.02395, allocations: 0 / 369.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.02395, allocations: 0 / 369.5 MB, free: 12.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.02396, allocations: 4 kB / 369.5 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.0006136/0.02457, allocations: 0.6499 MB / 370.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.02461, allocations: 8.625 kB / 370.1 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.02464, allocations: 11.95 kB / 370.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.684e-05/0.02472, allocations: 131.8 kB / 370.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.02473, allocations: 4 kB / 370.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-06/0.02474, allocations: 8 kB / 370.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.02488, allocations: 108.6 kB / 370.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.02488, allocations: 0 / 370.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-06/0.02489, allocations: 3.984 kB / 370.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.0249, allocations: 7.984 kB / 370.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.546e-05/0.02497, allocations: 85.14 kB / 370.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.02532, allocations: 418.4 kB / 370.9 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.02542, allocations: 103 kB / 371 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.355e-05/0.02546, allocations: 59.88 kB / 371.1 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001357/0.02682, allocations: 0.7133 MB / 371.8 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.02684, allocations: 41.38 kB / 371.8 MB, free: 9.758 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.634e-06/0.02684, allocations: 0 / 371.8 MB, free: 9.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0002903/0.02713, allocations: 304.8 kB / 372.1 MB, free: 9.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.02715, allocations: 55.39 kB / 372.2 MB, free: 9.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.02722, allocations: 161.9 kB / 372.3 MB, free: 9.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.699e-06/0.02723, allocations: 25.7 kB / 372.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.02727, allocations: 131.5 kB / 372.5 MB, free: 9.047 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.02733, allocations: 130.9 kB / 372.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.02737, allocations: 43.34 kB / 372.6 MB, free: 8.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.0275, allocations: 0.5039 MB / 373.1 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.806e-05/0.02753, allocations: 47.98 kB / 373.2 MB, free: 8.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.782e-05/0.02757, allocations: 43.98 kB / 373.2 MB, free: 8.262 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.826e-05/0.02767, allocations: 133.9 kB / 373.4 MB, free: 8.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.02767, allocations: 0 / 373.4 MB, free: 8.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001573/0.02783, allocations: 186.8 kB / 373.5 MB, free: 7.938 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.02784, allocations: 4 kB / 373.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.02785, allocations: 0 / 373.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.776e-06/0.02785, allocations: 0 / 373.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.703e-05/0.02792, allocations: 35.92 kB / 373.6 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.02792, allocations: 3.938 kB / 373.6 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.02796, allocations: 23.72 kB / 373.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.02796, allocations: 7.984 kB / 373.6 MB, free: 7.863 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.287e-05/0.02804, allocations: 164.6 kB / 373.8 MB, free: 7.691 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.02806, allocations: 19.91 kB / 373.8 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.02827, allocations: 227.6 kB / 374 MB, free: 7.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.02828, allocations: 7.984 kB / 374 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.02828, allocations: 0 / 374 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.02828, allocations: 0 / 374 MB, free: 7.438 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.02841, allocations: 186.3 kB / 374.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.02841, allocations: 0 / 374.2 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.02846, allocations: 23.98 kB / 374.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.02846, allocations: 0 / 374.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-06/0.02846, allocations: 0 / 374.2 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.02846, allocations: 4 kB / 374.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.71e-07/0.02846, allocations: 0 / 374.2 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.02865, allocations: 356.8 kB / 374.6 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.02868, allocations: 35.81 kB / 374.6 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-06/0.02869, allocations: 0 / 374.6 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.02873, allocations: 12.25 kB / 374.6 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.02876, allocations: 11.97 kB / 374.6 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.02876, allocations: 4 kB / 374.7 MB, free: 6.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.064e-05/0.02879, allocations: 123.2 kB / 374.8 MB, free: 6.648 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02879, allocations: 0 / 374.8 MB, free: 6.648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004704/0.02926, allocations: 430.6 kB / 375.2 MB, free: 6.227 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.0008539/0.03012, allocations: 0.72 MB / 375.9 MB, free: 5.496 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001362/0.03025, allocations: 139.2 kB / 376 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.03026, allocations: 0 / 376 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.947e-05/0.03032, allocations: 87.58 kB / 376.1 MB, free: 5.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.0306, allocations: 78.53 kB / 376.2 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.03113, allocations: 299 kB / 376.5 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.587e-05/0.03117, allocations: 72.34 kB / 376.6 MB, free: 4.785 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.035e-05/0.03122, allocations: 27.48 kB / 376.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.759e-05/0.03131, allocations: 126.1 kB / 376.7 MB, free: 4.641 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03132, allocations: 0 / 376.7 MB, free: 4.641 MB / 298.7 MB Notification: Performance of Templates: time 0.01354/0.04485, allocations: 14.06 MB / 390.8 MB, free: 6.633 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.0692255096510053]