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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") translateModel(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.09417/0.09417, allocations: 9.074 MB / 279.5 MB, free: 12.26 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005015, allocations: 12 kB / 339.1 MB, free: 26.02 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.103, allocations: 49.2 MB / 388.3 MB, free: 8.777 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation): time 0.02054/0.1236, allocations: 16.87 MB / 405.2 MB, free: 7.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004379/0.128, allocations: 4.599 MB / 409.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.1281, allocations: 0 / 409.8 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008417/0.129, allocations: 266.7 kB / 410.1 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.1308, allocations: 0.6192 MB / 410.7 MB, free: 2.348 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004326/0.1351, allocations: 1.418 MB / 412.1 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.1355, allocations: 171.1 kB / 412.3 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.805e-05/0.1355, allocations: 9.406 kB / 412.3 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.1358, allocations: 83.53 kB / 412.3 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.67e-05/0.1359, allocations: 51.77 kB / 412.4 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1359, allocations: 0 / 412.4 MB, free: 0.625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/0.1409, allocations: 2.786 MB / 415.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.095e-05/0.141, allocations: 23.91 kB / 415.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.733e-05/0.141, allocations: 45.64 kB / 415.3 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.1428, allocations: 0.8536 MB / 416.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1428, allocations: 3.938 kB / 416.1 MB, free: 12.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.736e-06/0.1428, allocations: 4 kB / 416.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1429, allocations: 0 / 416.1 MB, free: 12.89 MB / 318.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.001245/0.1441, allocations: 0.5925 MB / 416.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/0.1442, allocations: 12.03 kB / 416.7 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.893e-05/0.1443, allocations: 19.7 kB / 416.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.1444, allocations: 171 kB / 416.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.1445, allocations: 4 kB / 416.9 MB, free: 12.01 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.1445, allocations: 12 kB / 416.9 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.1448, allocations: 201.5 kB / 417.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1449, allocations: 0 / 417.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.1449, allocations: 0 / 417.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1449, allocations: 7.984 kB / 417.1 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.1453, allocations: 295.7 kB / 417.4 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007984/0.1461, allocations: 0.5182 MB / 417.9 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003493/0.1465, allocations: 246.4 kB / 418.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.1468, allocations: 209 kB / 418.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00668/0.1535, allocations: 7.243 MB / 425.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.1535, allocations: 34.56 kB / 425.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.314e-06/0.1536, allocations: 0 / 425.7 MB, free: 1.602 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009361/0.1545, allocations: 0.577 MB / 426.2 MB, free: 1.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1545, allocations: 51.41 kB / 426.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.604e-05/0.1547, allocations: 105.8 kB / 426.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1547, allocations: 29.7 kB / 426.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.1547, allocations: 80.8 kB / 426.5 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.1548, allocations: 106.3 kB / 426.6 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.1548, allocations: 8 kB / 426.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.155, allocations: 322.8 kB / 426.9 MB, free: 292 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.1552, allocations: 151.9 kB / 427.1 MB, free: 140 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2493/0.4045, allocations: 150.1 kB / 427.2 MB, free: 47.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.405, allocations: 157.3 kB / 427.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.405, allocations: 0 / 427.4 MB, free: 47.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007549/0.4057, allocations: 384.5 kB / 427.7 MB, free: 47.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.4058, allocations: 10.39 kB / 427.8 MB, free: 47.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4058, allocations: 0 / 427.8 MB, free: 47.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.4058, allocations: 5.438 kB / 427.8 MB, free: 47.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.406, allocations: 30.38 kB / 427.8 MB, free: 47.28 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.406, allocations: 2.047 kB / 427.8 MB, free: 47.28 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.4061, allocations: 28.31 kB / 427.8 MB, free: 47.28 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.4061, allocations: 4.203 kB / 427.8 MB, free: 47.28 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.4062, allocations: 124 kB / 427.9 MB, free: 47.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.4063, allocations: 9.094 kB / 427.9 MB, free: 47.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006921/0.407, allocations: 432.2 kB / 428.4 MB, free: 47.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.785e-05/0.407, allocations: 7.703 kB / 428.4 MB, free: 47.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.407, allocations: 3.562 kB / 428.4 MB, free: 47.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.407, allocations: 2.016 kB / 428.4 MB, free: 47.12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.4074, allocations: 292.6 kB / 428.7 MB, free: 46.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4074, allocations: 1.469 kB / 428.7 MB, free: 46.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.4075, allocations: 31.16 kB / 428.7 MB, free: 46.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.4075, allocations: 0 / 428.7 MB, free: 46.93 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.4075, allocations: 5.094 kB / 428.7 MB, free: 46.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4075, allocations: 1.281 kB / 428.7 MB, free: 46.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.4075, allocations: 3.953 kB / 428.7 MB, free: 46.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.4081, allocations: 486.2 kB / 429.2 MB, free: 46.78 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.4082, allocations: 111.7 kB / 429.3 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.4083, allocations: 1.812 kB / 429.3 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.4084, allocations: 14.3 kB / 429.3 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.4084, allocations: 12.31 kB / 429.3 MB, free: 46.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.4084, allocations: 8.797 kB / 429.3 MB, free: 46.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.463e-05/0.4085, allocations: 83.95 kB / 429.4 MB, free: 46.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4085, allocations: 2.969 kB / 429.4 MB, free: 46.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001567/0.4101, allocations: 415.6 kB / 429.8 MB, free: 46.59 MB / 318.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001806/0.4119, allocations: 0.6341 MB / 430.5 MB, free: 46.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007207/0.4126, allocations: 379.8 kB / 430.8 MB, free: 46.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4126, allocations: 0 / 430.8 MB, free: 46.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.4129, allocations: 212.8 kB / 431 MB, free: 46.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005941/0.4135, allocations: 74.98 kB / 431.1 MB, free: 46.39 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000669/0.4142, allocations: 435.5 kB / 431.5 MB, free: 46.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.4145, allocations: 0.7139 MB / 432.2 MB, free: 45.43 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.192e-05/0.4146, allocations: 15.8 kB / 432.3 MB, free: 45.43 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.4146, allocations: 17.72 kB / 432.3 MB, free: 45.42 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4146, allocations: 3.906 kB / 432.3 MB, free: 45.42 MB / 318.1 MB Notification: Performance of Templates: time 0.02176/0.4364, allocations: 11.39 MB / 443.7 MB, free: 41.11 MB / 318.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.Ancillary_Saturation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: