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.0009687/0.0009687, allocations: 93.06 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.0009738/0.0009738, allocations: 169 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.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.03133/0.03133, 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.904e-06/1.904e-06, allocations: 0 / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.383e-05, allocations: 2.312 kB / 338.6 MB, free: 11 MB / 266.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.01728/0.0173, allocations: 18.34 MB / 357 MB, free: 8.582 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.02062, allocations: 4.934 MB / 361.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.02067, allocations: 0 / 361.9 MB, free: 3.633 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005581/0.02122, allocations: 290.5 kB / 362.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.02232, allocations: 0.7434 MB / 362.9 MB, free: 2.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.02466, allocations: 1.904 MB / 364.8 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.02481, allocations: 183 kB / 365 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.02485, allocations: 13.31 kB / 365 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.02503, allocations: 135.4 kB / 365.2 MB, free: 372 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.408e-05/0.02508, allocations: 27.92 kB / 365.2 MB, free: 344 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.0251, allocations: 4 kB / 365.2 MB, free: 340 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.02735, allocations: 2.63 MB / 367.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.02736, allocations: 11.94 kB / 367.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.02741, allocations: 39.91 kB / 367.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.02874, allocations: 1.535 MB / 369.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.02874, allocations: 0 / 369.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.02874, allocations: 0 / 369.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.02875, 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.0006344/0.02938, allocations: 0.6499 MB / 370.1 MB, free: 11.42 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.02942, allocations: 8.625 kB / 370.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.02947, allocations: 15.95 kB / 370.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.32e-05/0.02955, allocations: 127.8 kB / 370.2 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.02956, allocations: 8 kB / 370.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.02957, allocations: 8 kB / 370.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.02975, allocations: 112.6 kB / 370.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.02975, allocations: 7.938 kB / 370.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.02976, allocations: 4 kB / 370.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.02977, allocations: 3.984 kB / 370.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.02988, allocations: 108 kB / 370.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.03033, allocations: 433.9 kB / 370.9 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.03048, allocations: 127 kB / 371 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.03054, allocations: 77 kB / 371.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001515/0.03206, allocations: 0.7553 MB / 371.8 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.03209, allocations: 33.39 kB / 371.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 2.063e-06/0.03209, allocations: 0 / 371.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0003733/0.03246, allocations: 348.8 kB / 372.2 MB, free: 9.164 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.03249, allocations: 55.41 kB / 372.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.03256, allocations: 165.9 kB / 372.4 MB, free: 8.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.03257, allocations: 25.7 kB / 372.5 MB, free: 8.887 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.03262, allocations: 139.5 kB / 372.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.612e-05/0.03269, allocations: 122.9 kB / 372.7 MB, free: 8.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.03273, allocations: 43.36 kB / 372.8 MB, free: 8.574 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.03285, allocations: 0.4962 MB / 373.2 MB, free: 8.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.03291, allocations: 59.98 kB / 373.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.395e-05/0.03296, allocations: 59.98 kB / 373.4 MB, free: 7.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.03309, allocations: 161.9 kB / 373.5 MB, free: 7.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.03309, allocations: 0 / 373.5 MB, free: 7.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001943/0.03329, allocations: 222.5 kB / 373.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.0333, allocations: 4 kB / 373.7 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.03331, allocations: 0 / 373.7 MB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.03332, allocations: 4 kB / 373.7 MB, free: 7.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.0334, allocations: 23.98 kB / 373.8 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.0334, allocations: 7.875 kB / 373.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.315e-05/0.03344, allocations: 27.77 kB / 373.8 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.03345, allocations: 4 kB / 373.8 MB, free: 7.496 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.302e-05/0.03351, allocations: 164.5 kB / 374 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.03353, allocations: 15.91 kB / 374 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002541/0.03379, allocations: 255.6 kB / 374.2 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.03379, allocations: 8 kB / 374.2 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.0338, allocations: 4 kB / 374.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.0338, allocations: 7.922 kB / 374.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.03394, allocations: 186 kB / 374.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.03394, allocations: 0 / 374.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.03399, allocations: 31.92 kB / 374.5 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.03399, allocations: 0 / 374.5 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.034, allocations: 8 kB / 374.5 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.034, allocations: 0 / 374.5 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.034, allocations: 0 / 374.5 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.03424, allocations: 376.8 kB / 374.8 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/0.03427, allocations: 35.81 kB / 374.9 MB, free: 6.355 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.03429, allocations: 4 kB / 374.9 MB, free: 6.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.03433, allocations: 11.98 kB / 374.9 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.03436, allocations: 7.984 kB / 374.9 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.03437, allocations: 4 kB / 374.9 MB, free: 6.328 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.86e-05/0.03441, allocations: 135.1 kB / 375 MB, free: 6.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03441, allocations: 0 / 375 MB, free: 6.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005028/0.03491, allocations: 426.6 kB / 375.5 MB, free: 5.777 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.0009846/0.03589, allocations: 0.6966 MB / 376.2 MB, free: 5.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.03609, allocations: 175.6 kB / 376.3 MB, free: 4.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.03609, allocations: 0 / 376.3 MB, free: 4.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.44e-05/0.03617, allocations: 99.59 kB / 376.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.03649, allocations: 72.53 kB / 376.5 MB, free: 4.723 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.03719, allocations: 303 kB / 376.8 MB, free: 4.398 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.347e-05/0.03724, allocations: 72.34 kB / 376.9 MB, free: 4.309 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.649e-05/0.03729, allocations: 19.11 kB / 376.9 MB, free: 4.297 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.03732, allocations: 20.5 kB / 376.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.03733, allocations: 0 / 376.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of Templates: time 0.01231/0.04964, allocations: 11.92 MB / 388.8 MB, free: 8.434 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.3002156550064683]