Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8") translateModel(Annex60.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01025/0.01025, allocations: 95.61 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.002281/0.002281, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.542/1.542, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3853/0.3853, allocations: 54.95 MB / 324.8 MB, free: 56 kB / 254.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.001481/0.001481, allocations: 69.25 kB / 456.2 MB, free: 38.52 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1302, allocations: 59.59 MB / 0.5037 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example8): time 0.001607/0.1318, allocations: 0.5062 MB / 0.5042 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001438/0.132, allocations: 18.66 kB / 0.5042 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.132, allocations: 1.375 kB / 0.5043 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.1321, allocations: 3.938 kB / 0.5043 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001714/0.1322, allocations: 1.375 kB / 0.5043 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.368e-06/0.1323, allocations: 0 / 0.5043 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.99e-05/0.1323, allocations: 5.359 kB / 0.5043 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.44e-05/0.1324, allocations: 1.375 kB / 0.5043 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.89e-05/0.1324, allocations: 1.375 kB / 0.5043 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.1325, allocations: 1.375 kB / 0.5043 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1325, allocations: 0 / 0.5043 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.973e-06/0.1325, allocations: 4 kB / 0.5043 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.1325, allocations: 11.92 kB / 0.5043 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.1326, allocations: 1.375 kB / 0.5043 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.088e-05/0.1326, allocations: 5.312 kB / 0.5043 GB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1326, allocations: 0 / 0.5043 GB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1326, allocations: 0 / 0.5043 GB, free: 9.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1326, allocations: 0 / 0.5043 GB, free: 9.559 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002794/0.1329, allocations: 316.2 kB / 0.5046 GB, free: 9.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.133, allocations: 9.625 kB / 0.5046 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.133, allocations: 4.891 kB / 0.5046 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.724e-05/0.1331, allocations: 165.8 kB / 0.5048 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1331, allocations: 384 / 0.5048 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1331, allocations: 1.75 kB / 0.5048 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.1332, allocations: 46.72 kB / 0.5048 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1333, allocations: 1.562 kB / 0.5048 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1333, allocations: 3.938 kB / 0.5048 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1333, allocations: 3.938 kB / 0.5048 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.122e-05/0.1333, allocations: 6.688 kB / 0.5048 GB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.1334, allocations: 157.3 kB / 0.505 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.195e-05/0.1335, allocations: 41.2 kB / 0.505 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.1335, allocations: 15.09 kB / 0.505 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1335, allocations: 1.375 kB / 0.505 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.904e-05/0.1336, allocations: 35.94 kB / 0.5051 GB, free: 8.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1336, allocations: 0 / 0.5051 GB, free: 8.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001546/0.1337, allocations: 51.19 kB / 0.5051 GB, free: 8.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1338, allocations: 77.11 kB / 0.5052 GB, free: 8.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.38e-05/0.1338, allocations: 91.23 kB / 0.5053 GB, free: 8.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.1338, allocations: 25.7 kB / 0.5053 GB, free: 8.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.027e-05/0.1338, allocations: 80.14 kB / 0.5054 GB, free: 8.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.1339, allocations: 9.578 kB / 0.5054 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.1339, allocations: 12.47 kB / 0.5054 GB, free: 8.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.1339, allocations: 314.8 kB / 0.5057 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.259e-05/0.134, allocations: 1.375 kB / 0.5057 GB, free: 7.922 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.43e-05/0.134, allocations: 20.39 kB / 0.5057 GB, free: 7.898 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.45e-05/0.134, allocations: 27.22 kB / 0.5057 GB, free: 7.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.134, allocations: 0 / 0.5057 GB, free: 7.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.381e-05/0.1341, allocations: 43.27 kB / 0.5058 GB, free: 7.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1341, allocations: 5.438 kB / 0.5058 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1341, allocations: 3.984 kB / 0.5058 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1341, allocations: 5.281 kB / 0.5058 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.132e-05/0.1342, allocations: 2.656 kB / 0.5058 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1342, allocations: 1.344 kB / 0.5058 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.1343, allocations: 0 / 0.5058 GB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1343, allocations: 1.281 kB / 0.5058 GB, free: 7.824 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 5.374e-05/0.1343, allocations: 115.3 kB / 0.5059 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-06/0.1344, allocations: 1.719 kB / 0.5059 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1345, allocations: 53.75 kB / 0.506 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1345, allocations: 0 / 0.506 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1345, allocations: 1.344 kB / 0.506 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1345, allocations: 0 / 0.506 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.425e-05/0.1346, allocations: 148.9 kB / 0.5061 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1346, allocations: 4.062 kB / 0.5061 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.245e-05/0.1346, allocations: 3.031 kB / 0.5061 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1346, allocations: 1.406 kB / 0.5061 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1346, allocations: 3.938 kB / 0.5061 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1346, allocations: 1.344 kB / 0.5061 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.1346, allocations: 3.984 kB / 0.5061 GB, free: 7.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.796e-05/0.1347, allocations: 75.64 kB / 0.5062 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.1347, allocations: 82.2 kB / 0.5063 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1347, allocations: 5.219 kB / 0.5063 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.48e-05/0.1348, allocations: 0 / 0.5063 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.1348, allocations: 4.922 kB / 0.5063 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.1348, allocations: 5.75 kB / 0.5063 GB, free: 7.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.497e-05/0.1348, allocations: 75.28 kB / 0.5064 GB, free: 7.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1348, allocations: 0 / 0.5064 GB, free: 7.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001949/0.135, allocations: 2.594 kB / 0.5064 GB, free: 7.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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 9.185e-05/0.1351, allocations: 95.81 kB / 0.5065 GB, free: 7.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.095e-05/0.1352, allocations: 10.44 kB / 0.5065 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1352, allocations: 0.9062 kB / 0.5065 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.1352, allocations: 4.25 kB / 0.5065 GB, free: 7.082 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.1354, allocations: 9.219 kB / 0.5065 GB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001811/0.1356, allocations: 93.92 kB / 0.5066 GB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.1357, allocations: 0.6753 MB / 0.5072 GB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.959e-05/0.1357, allocations: 1.188 kB / 0.5072 GB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.1357, allocations: 12.95 kB / 0.5072 GB, free: 6.25 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1357, allocations: 0 / 0.5072 GB, free: 6.25 MB / 382.1 MB Notification: Performance of Templates: time 0.001969/0.1377, allocations: 194.2 kB / 0.5074 GB, free: 6.145 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.sim & ./Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example8.pipe 2>&1)