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.001343/0.001343, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001463/0.001463, allocations: 156 kB / 23.01 MB, free: 4.605 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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.08559/0.08559, allocations: 7.54 MB / 267.3 MB, free: 9.594 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.002259/0.002259, allocations: 67.91 kB / 392.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1056, allocations: 54.92 MB / 447.7 MB, free: 4.613 MB / 414.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02424/0.1299, allocations: 16.59 MB / 464.3 MB, free: 3.945 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005426/0.1353, allocations: 4.331 MB / 468.6 MB, free: 15.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.1354, allocations: 4 kB / 468.6 MB, free: 15.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009322/0.1364, allocations: 290.6 kB / 468.9 MB, free: 15.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00228/0.1386, allocations: 0.732 MB / 469.6 MB, free: 14.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00513/0.1438, allocations: 1.882 MB / 471.5 MB, free: 12.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.1441, allocations: 186.7 kB / 471.7 MB, free: 12.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.007e-05/0.1441, allocations: 5.312 kB / 471.7 MB, free: 12.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002423/0.1444, allocations: 95.56 kB / 471.8 MB, free: 12.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.703e-05/0.1445, allocations: 59.7 kB / 471.8 MB, free: 12.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1445, allocations: 7.938 kB / 471.8 MB, free: 12.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005267/0.1497, allocations: 2.596 MB / 474.4 MB, free: 9.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.1498, allocations: 15.92 kB / 474.4 MB, free: 9.734 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1499, allocations: 47.8 kB / 474.5 MB, free: 9.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.1525, allocations: 1.301 MB / 475.8 MB, free: 8.383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1526, allocations: 11.94 kB / 475.8 MB, free: 8.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1526, allocations: 0 / 475.8 MB, free: 8.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.1526, allocations: 0 / 475.8 MB, free: 8.371 MB / 446.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.001026/0.1536, allocations: 0.5349 MB / 476.3 MB, free: 7.805 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1536, allocations: 8.625 kB / 476.3 MB, free: 7.797 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.1537, allocations: 11.91 kB / 476.4 MB, free: 7.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.1538, allocations: 129 kB / 476.5 MB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1538, allocations: 4 kB / 476.5 MB, free: 7.629 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.1539, allocations: 4 kB / 476.5 MB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/0.1542, allocations: 210.5 kB / 476.7 MB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1542, allocations: 0 / 476.7 MB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1542, allocations: 0 / 476.7 MB, free: 7.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1542, allocations: 11.94 kB / 476.7 MB, free: 7.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004316/0.1547, allocations: 279.8 kB / 477 MB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006886/0.1554, allocations: 466.8 kB / 477.4 MB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.1557, allocations: 210.4 kB / 477.6 MB, free: 6.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002223/0.1559, allocations: 169 kB / 477.8 MB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003518/0.1595, allocations: 0.8061 MB / 478.6 MB, free: 5.453 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.1595, allocations: 34.56 kB / 478.6 MB, free: 5.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.1595, allocations: 0 / 478.6 MB, free: 5.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009487/0.1604, allocations: 0.6032 MB / 479.3 MB, free: 4.797 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.1605, allocations: 55.41 kB / 479.3 MB, free: 4.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.1606, allocations: 97.86 kB / 479.4 MB, free: 4.625 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.1606, allocations: 29.7 kB / 479.4 MB, free: 4.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.1607, allocations: 84.78 kB / 479.5 MB, free: 4.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1608, allocations: 126.9 kB / 479.6 MB, free: 4.375 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.1608, allocations: 33.7 kB / 479.7 MB, free: 4.336 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.161, allocations: 322.8 kB / 480 MB, free: 4.012 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.1612, allocations: 159.8 kB / 480.1 MB, free: 3.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.1614, allocations: 151.9 kB / 480.3 MB, free: 3.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.1619, allocations: 335.2 kB / 480.6 MB, free: 3.379 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1619, allocations: 0 / 480.6 MB, free: 3.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000575/0.1625, allocations: 394.4 kB / 481 MB, free: 2.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.1625, allocations: 6.188 kB / 481 MB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1625, allocations: 0 / 481 MB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.1625, allocations: 3.938 kB / 481 MB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.1626, allocations: 31.97 kB / 481 MB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1627, allocations: 4 kB / 481 MB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/0.1627, allocations: 11.89 kB / 481.1 MB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.1627, allocations: 4.25 kB / 481.1 MB, free: 2.93 MB / 446.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 0.000116/0.1629, allocations: 125.8 kB / 481.2 MB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.1629, allocations: 11.91 kB / 481.2 MB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007355/0.1636, allocations: 435.6 kB / 481.6 MB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.1637, allocations: 11.98 kB / 481.6 MB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1637, allocations: 0 / 481.6 MB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1637, allocations: 0 / 481.6 MB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.164, allocations: 230.4 kB / 481.9 MB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.164, allocations: 3.938 kB / 481.9 MB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1641, allocations: 27.97 kB / 481.9 MB, free: 2.062 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1641, allocations: 8 kB / 481.9 MB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1641, allocations: 0 / 481.9 MB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1641, allocations: 7.875 kB / 481.9 MB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1641, allocations: 0 / 481.9 MB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.1648, allocations: 496.3 kB / 482.4 MB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/0.1649, allocations: 31.81 kB / 482.4 MB, free: 1.512 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.1649, allocations: 4 kB / 482.4 MB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.652e-05/0.165, allocations: 7.938 kB / 482.4 MB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.1651, allocations: 23.95 kB / 482.5 MB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.1651, allocations: 4 kB / 482.5 MB, free: 1.473 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.502e-05/0.1652, allocations: 83.28 kB / 482.5 MB, free: 1.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1652, allocations: 0 / 482.5 MB, free: 1.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001491/0.1667, allocations: 426.6 kB / 483 MB, free: 0.9727 MB / 446.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.001652/0.1683, allocations: 0.642 MB / 483.6 MB, free: 328 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2071/0.3754, allocations: 340.9 kB / 483.9 MB, free: 75.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3754, allocations: 0.9062 kB / 483.9 MB, free: 75.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.3757, allocations: 165.5 kB / 484.1 MB, free: 75.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006395/0.3764, allocations: 73.5 kB / 484.2 MB, free: 75.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.3769, allocations: 360.4 kB / 484.5 MB, free: 75.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.06e-05/0.377, allocations: 102.8 kB / 484.6 MB, free: 75.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.066e-05/0.3771, allocations: 18.2 kB / 484.6 MB, free: 75.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.3772, allocations: 22.42 kB / 484.7 MB, free: 75.08 MB / 446.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3772, allocations: 0 / 484.7 MB, free: 75.08 MB / 446.1 MB Notification: Performance of Templates: time 0.01675/0.3939, allocations: 11.85 MB / 496.5 MB, free: 74.45 MB / 446.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 -s ida -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.497155140968971] Failed to read output from testmodel.py, exit status != 0: 0.4021908539580181 0.41238949900000005 0.256896762 Calling exit ...