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.001057/0.001057, allocations: 92.22 kB / 19.65 MB, free: 276 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.001191/0.001191, allocations: 173 kB / 23.02 MB, free: 1.547 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.034/1.034, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.04587/0.04587, allocations: 7.518 MB / 267.5 MB, free: 5.996 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.833e-06/1.833e-06, allocations: 0 / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.56e-05, allocations: 2.312 kB / 338.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01633/0.01635, allocations: 18.35 MB / 357 MB, free: 8.594 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004578/0.02093, allocations: 4.934 MB / 361.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.49e-05/0.02101, allocations: 0 / 361.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008582/0.02186, allocations: 286.5 kB / 362.2 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.02339, allocations: 0.7434 MB / 362.9 MB, free: 2.617 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.02679, allocations: 1.904 MB / 364.8 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002594/0.02705, allocations: 179 kB / 365 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.213e-05/0.0271, allocations: 13.3 kB / 365 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.02738, allocations: 135.5 kB / 365.2 MB, free: 392 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.655e-05/0.02745, allocations: 35.91 kB / 365.2 MB, free: 356 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.02747, allocations: 3.984 kB / 365.2 MB, free: 352 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.0308, allocations: 2.634 MB / 367.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.03082, allocations: 11.92 kB / 367.9 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.03089, allocations: 39.92 kB / 367.9 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.03327, allocations: 1.535 MB / 369.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.03327, allocations: 0 / 369.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.03328, allocations: 0 / 369.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.03328, allocations: 0 / 369.4 MB, free: 12.11 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.0008509/0.03413, allocations: 0.646 MB / 370.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.03417, allocations: 12.62 kB / 370.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.03422, allocations: 11.95 kB / 370.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.113e-05/0.03431, allocations: 127.8 kB / 370.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.03432, allocations: 4 kB / 370.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.03433, allocations: 12 kB / 370.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.03451, allocations: 124.5 kB / 370.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.03451, allocations: 0 / 370.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.03452, allocations: 0 / 370.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/0.03453, allocations: 4 kB / 370.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.03464, allocations: 111.9 kB / 370.5 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.03504, allocations: 429.9 kB / 370.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.03518, allocations: 126.6 kB / 371 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.195e-05/0.03524, allocations: 73.06 kB / 371.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00159/0.03683, allocations: 0.7592 MB / 371.8 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.03685, allocations: 33.39 kB / 371.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.673e-06/0.03686, allocations: 0 / 371.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0003808/0.03724, allocations: 348.8 kB / 372.2 MB, free: 9.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.03727, allocations: 55.41 kB / 372.3 MB, free: 9.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/0.03735, allocations: 165.9 kB / 372.4 MB, free: 8.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.03737, allocations: 33.7 kB / 372.5 MB, free: 8.895 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.03741, allocations: 127.5 kB / 372.6 MB, free: 8.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.03748, allocations: 122.9 kB / 372.7 MB, free: 8.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.061e-05/0.03753, allocations: 47.36 kB / 372.8 MB, free: 8.59 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.03766, allocations: 0.4962 MB / 373.3 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.601e-05/0.03773, allocations: 55.98 kB / 373.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.938e-05/0.03778, allocations: 63.98 kB / 373.4 MB, free: 7.965 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001657/0.03795, allocations: 157.9 kB / 373.5 MB, free: 7.809 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.03795, allocations: 0 / 373.5 MB, free: 7.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001966/0.03815, allocations: 218.7 kB / 373.7 MB, free: 7.586 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.03817, allocations: 11.98 kB / 373.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.03817, allocations: 0 / 373.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.03819, allocations: 0 / 373.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.285e-05/0.03827, allocations: 27.98 kB / 373.8 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.03828, allocations: 3.938 kB / 373.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.03831, allocations: 27.72 kB / 373.8 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.03832, allocations: 4 kB / 373.8 MB, free: 7.512 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 6.936e-05/0.03839, allocations: 160.5 kB / 374 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.03841, allocations: 19.91 kB / 374 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.03868, allocations: 260.1 kB / 374.2 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.03869, allocations: 11.98 kB / 374.3 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.0387, allocations: 256 / 374.3 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.0387, allocations: 7.938 kB / 374.3 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.03889, allocations: 189.8 kB / 374.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.03889, allocations: 0 / 374.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.03894, allocations: 27.92 kB / 374.5 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.03894, allocations: 0 / 374.5 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.03895, allocations: 7.984 kB / 374.5 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.03895, allocations: 0 / 374.5 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.03895, allocations: 4 kB / 374.5 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.03919, allocations: 380.8 kB / 374.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.03923, allocations: 31.81 kB / 374.9 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.03924, allocations: 0 / 374.9 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.03928, allocations: 12 kB / 374.9 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.03931, allocations: 7.984 kB / 374.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.03932, allocations: 3.984 kB / 374.9 MB, free: 6.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.79e-05/0.03936, allocations: 131.1 kB / 375 MB, free: 6.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03936, allocations: 0 / 375 MB, free: 6.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000736/0.04009, allocations: 430.6 kB / 375.5 MB, free: 5.789 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.0009915/0.04109, allocations: 0.7012 MB / 376.2 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.0413, allocations: 175.6 kB / 376.3 MB, free: 4.902 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0413, allocations: 0 / 376.3 MB, free: 4.902 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.415e-05/0.04137, allocations: 95.59 kB / 376.4 MB, free: 4.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.0417, allocations: 71.84 kB / 376.5 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.04237, allocations: 307 kB / 376.8 MB, free: 4.406 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.04241, allocations: 72.34 kB / 376.9 MB, free: 4.316 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.061e-05/0.04247, allocations: 19.56 kB / 376.9 MB, free: 4.305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.0425, allocations: 20.48 kB / 376.9 MB, free: 4.285 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.0425, allocations: 4 kB / 376.9 MB, free: 4.281 MB / 298.7 MB Notification: Performance of Templates: time 0.01634/0.05884, allocations: 14.29 MB / 391.2 MB, free: 6.066 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.4275491600856185]