Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(Annex60.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5") translateModel(Annex60.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01141/0.01141, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00173/0.001731, allocations: 196.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4217/0.4217, allocations: 54.94 MB / 324.8 MB, free: 15.95 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 66.42 kB / 456.2 MB, free: 38.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1261, allocations: 59.6 MB / 0.5037 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example5): time 0.001565/0.1277, allocations: 0.5056 MB / 0.5042 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000175/0.1279, allocations: 41.91 kB / 0.5042 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.128, allocations: 1.188 kB / 0.5042 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.135e-05/0.128, allocations: 0 / 0.5042 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.1282, allocations: 5.281 kB / 0.5042 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.899e-05/0.1282, allocations: 14.33 kB / 0.5043 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.724e-05/0.1283, allocations: 8.203 kB / 0.5043 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.1283, allocations: 5.281 kB / 0.5043 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.1284, allocations: 2.906 kB / 0.5043 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.1285, allocations: 10.73 kB / 0.5043 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1285, allocations: 0.9062 kB / 0.5043 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.1285, allocations: 0.9688 kB / 0.5043 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.1285, allocations: 6.844 kB / 0.5043 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.1286, allocations: 9.234 kB / 0.5043 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.613e-05/0.1286, allocations: 11.89 kB / 0.5043 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1287, allocations: 0 / 0.5043 GB, free: 9.121 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1287, allocations: 0 / 0.5043 GB, free: 9.121 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.1287, allocations: 0 / 0.5043 GB, free: 9.121 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003212/0.129, allocations: 333.7 kB / 0.5046 GB, free: 8.754 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.129, allocations: 9.719 kB / 0.5046 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.1291, allocations: 2.25 kB / 0.5046 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1292, allocations: 169.9 kB / 0.5048 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1293, allocations: 384 / 0.5048 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.1293, allocations: 13.69 kB / 0.5048 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.18e-05/0.1294, allocations: 32.94 kB / 0.5048 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.1294, allocations: 1.531 kB / 0.5048 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1294, allocations: 7.938 kB / 0.5049 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1294, allocations: 0 / 0.5049 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.1294, allocations: 6.75 kB / 0.5049 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.1295, allocations: 149.1 kB / 0.505 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.554e-05/0.1296, allocations: 26.58 kB / 0.505 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.1296, allocations: 15.53 kB / 0.505 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1296, allocations: 0 / 0.505 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.1296, allocations: 31.69 kB / 0.5051 GB, free: 8.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1297, allocations: 0 / 0.5051 GB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001239/0.1298, allocations: 43.91 kB / 0.5051 GB, free: 8.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.1298, allocations: 55.34 kB / 0.5052 GB, free: 8.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.421e-05/0.1299, allocations: 108.1 kB / 0.5053 GB, free: 8.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.1299, allocations: 29.83 kB / 0.5053 GB, free: 7.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.1299, allocations: 85.42 kB / 0.5054 GB, free: 7.887 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1299, allocations: 1.312 kB / 0.5054 GB, free: 7.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.13, allocations: 15.83 kB / 0.5054 GB, free: 7.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.298e-05/0.13, allocations: 316.2 kB / 0.5057 GB, free: 7.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.41e-05/0.13, allocations: 2.656 kB / 0.5057 GB, free: 7.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.895e-05/0.1301, allocations: 18.2 kB / 0.5057 GB, free: 7.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.397e-05/0.1301, allocations: 24.16 kB / 0.5057 GB, free: 7.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1301, allocations: 1.25 kB / 0.5057 GB, free: 7.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.842e-05/0.1302, allocations: 48.97 kB / 0.5058 GB, free: 7.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1302, allocations: 5.406 kB / 0.5058 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1302, allocations: 9.031 kB / 0.5058 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1302, allocations: 1.094 kB / 0.5058 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.1303, allocations: 7.266 kB / 0.5058 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.1303, allocations: 8.047 kB / 0.5058 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.1303, allocations: 1.188 kB / 0.5058 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.1303, allocations: 1.125 kB / 0.5058 GB, free: 7.445 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 4.867e-05/0.1304, allocations: 117 kB / 0.5059 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.1304, allocations: 1.188 kB / 0.5059 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.676e-05/0.1305, allocations: 59.02 kB / 0.506 GB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1305, allocations: 3.938 kB / 0.506 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1305, allocations: 1.188 kB / 0.506 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.1305, allocations: 4.031 kB / 0.506 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.181e-05/0.1306, allocations: 150.1 kB / 0.5061 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1306, allocations: 1.438 kB / 0.5061 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.1306, allocations: 3 kB / 0.5061 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1307, allocations: 0 / 0.5061 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.1307, allocations: 5.219 kB / 0.5062 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1307, allocations: 0 / 0.5062 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1307, allocations: 256 / 0.5062 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000105/0.1308, allocations: 86.86 kB / 0.5062 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.1308, allocations: 82.17 kB / 0.5063 GB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1308, allocations: 9.125 kB / 0.5063 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.1309, allocations: 1.219 kB / 0.5063 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.1309, allocations: 3.984 kB / 0.5063 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.1309, allocations: 1.156 kB / 0.5063 GB, free: 6.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.165e-05/0.1309, allocations: 85.84 kB / 0.5064 GB, free: 6.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1309, allocations: 0 / 0.5064 GB, free: 6.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001713/0.1311, allocations: 3.188 kB / 0.5064 GB, free: 6.793 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.437e-05/0.1312, allocations: 100.5 kB / 0.5065 GB, free: 6.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.746e-05/0.1313, allocations: 17.38 kB / 0.5065 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1313, allocations: 0 / 0.5065 GB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.489e-05/0.1313, allocations: 9.953 kB / 0.5065 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001314/0.1314, allocations: 1.531 kB / 0.5065 GB, free: 6.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/0.1317, allocations: 116.2 kB / 0.5066 GB, free: 6.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.1318, allocations: 0.6816 MB / 0.5073 GB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.644e-05/0.1318, allocations: 6.812 kB / 0.5073 GB, free: 5.855 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.1318, allocations: 9.25 kB / 0.5073 GB, free: 5.848 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1319, allocations: 0 / 0.5073 GB, free: 5.848 MB / 382.1 MB Notification: Performance of Templates: time 0.002091/0.1339, allocations: 318.6 kB / 0.5076 GB, free: 5.684 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example5.pipe 2>&1)