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.001277/0.001277, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.00137/0.00137, allocations: 166.2 kB / 22.46 MB, free: 5.379 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.328/1.328, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 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.08765/0.08765, allocations: 7.513 MB / 266.7 MB, free: 9.641 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 1.172e-06/1.172e-06, allocations: 0 / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.45e-05/1.567e-05, allocations: 2.281 kB / 392.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01887/0.01888, allocations: 16.6 MB / 408.8 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.02326, allocations: 4.331 MB / 413.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.053e-05/0.02331, allocations: 0 / 413.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.02399, allocations: 282.5 kB / 413.4 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.02551, allocations: 0.7434 MB / 414.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.02887, allocations: 1.903 MB / 416.1 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.02907, allocations: 183 kB / 416.2 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.02912, allocations: 13.3 kB / 416.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002225/0.02934, allocations: 135.4 kB / 416.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.02942, allocations: 39.91 kB / 416.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.02943, allocations: 4 kB / 416.4 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003599/0.03303, allocations: 2.623 MB / 419.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.03305, allocations: 11.94 kB / 419.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.03311, allocations: 43.91 kB / 419.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.03516, allocations: 1.539 MB / 420.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.03516, allocations: 0 / 420.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.03516, allocations: 0 / 420.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.03517, allocations: 0 / 420.7 MB, free: 13.85 MB / 350.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.000825/0.036, allocations: 0.5426 MB / 421.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.03603, allocations: 8.625 kB / 421.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.472e-05/0.03607, allocations: 19.84 kB / 421.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.03619, allocations: 125 kB / 421.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.0362, allocations: 7.938 kB / 421.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.03621, allocations: 8 kB / 421.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.03654, allocations: 198.5 kB / 421.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.03654, allocations: 0 / 421.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.03656, allocations: 4 kB / 421.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.03657, allocations: 4 kB / 421.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.03697, allocations: 279.8 kB / 421.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/0.03757, allocations: 470.8 kB / 422.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/0.03789, allocations: 226.2 kB / 422.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.0381, allocations: 165 kB / 422.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003273/0.04138, allocations: 0.7945 MB / 423.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.04141, allocations: 38.56 kB / 423.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.372e-06/0.04141, allocations: 0 / 423.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.0008552/0.04227, allocations: 0.5993 MB / 424.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.0423, allocations: 55.41 kB / 424.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.588e-05/0.04238, allocations: 109.8 kB / 424.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.04241, allocations: 33.7 kB / 424.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.04246, allocations: 84.78 kB / 424.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.04255, allocations: 118.9 kB / 424.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.0426, allocations: 37.7 kB / 424.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.04273, allocations: 322.8 kB / 424.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.04294, allocations: 147.9 kB / 425 MB, free: 9.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.04314, allocations: 151.9 kB / 425.1 MB, free: 9.191 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004396/0.04358, allocations: 347.2 kB / 425.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.04358, allocations: 0 / 425.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005233/0.0441, allocations: 386.5 kB / 425.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.04412, allocations: 4 kB / 425.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.04412, allocations: 0 / 425.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.04413, allocations: 0 / 425.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.04426, allocations: 23.98 kB / 425.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.04427, allocations: 11.92 kB / 425.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.871e-05/0.04434, allocations: 27.83 kB / 425.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.04436, allocations: 4 kB / 425.9 MB, free: 8.398 MB / 350.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 8.539e-05/0.04444, allocations: 117.8 kB / 426 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.04448, allocations: 11.91 kB / 426.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006234/0.0451, allocations: 434.1 kB / 426.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.04511, allocations: 8 kB / 426.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.04512, allocations: 3.938 kB / 426.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.04512, allocations: 7.922 kB / 426.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.04536, allocations: 230.4 kB / 426.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.04537, allocations: 0 / 426.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.04547, allocations: 27.92 kB / 426.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.04548, allocations: 4 kB / 426.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.04549, allocations: 4 kB / 426.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.04549, allocations: 0 / 426.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.04549, allocations: 0 / 426.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000584/0.04607, allocations: 496.3 kB / 427.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.04612, allocations: 31.86 kB / 427.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.04614, allocations: 4 kB / 427.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.04626, allocations: 11.98 kB / 427.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.04629, allocations: 7.984 kB / 427.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.0463, allocations: 4 kB / 427.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.41e-05/0.04636, allocations: 99.39 kB / 427.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.04636, allocations: 0 / 427.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007475/0.04711, allocations: 422.6 kB / 427.8 MB, free: 6.457 MB / 350.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.001401/0.04851, allocations: 0.6966 MB / 428.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000507/0.04901, allocations: 339.7 kB / 428.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.04902, allocations: 0 / 428.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.04926, allocations: 171.9 kB / 429 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.04979, allocations: 71.8 kB / 429.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.05029, allocations: 346.2 kB / 429.4 MB, free: 4.816 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.388e-05/0.05038, allocations: 102.3 kB / 429.5 MB, free: 4.695 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.828e-05/0.05045, allocations: 16.88 kB / 429.5 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.05048, allocations: 20.5 kB / 429.6 MB, free: 4.668 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.05048, allocations: 3.938 kB / 429.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of Templates: time 0.01817/0.06865, allocations: 11.89 MB / 441.4 MB, free: 8.848 MB / 366.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: 4.831338830292225] Failed to read output from testmodel.py, exit status != 0: 0.07622542977333069 0.22557385600000002 0.187788574 Calling exit ...