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.007943/0.007943, allocations: 100.6 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.001683/0.001683, allocations: 188.6 kB / 16.67 MB, free: 5.98 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.578/1.578, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2605/0.2605, allocations: 54.96 MB / 324.9 MB, free: 4.852 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.001407/0.001407, allocations: 75.83 kB / 456.2 MB, free: 2.645 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1432, allocations: 59.6 MB / 0.5037 GB, free: 7.09 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Examples.Performance.Example5): time 0.001899/0.1452, allocations: 0.5049 MB / 0.5042 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002175/0.1454, allocations: 39.86 kB / 0.5042 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.1455, allocations: 3.938 kB / 0.5042 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.333e-05/0.1455, allocations: 4 kB / 0.5042 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001676/0.1457, allocations: 4 kB / 0.5042 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.841e-05/0.1458, allocations: 11.94 kB / 0.5043 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.047e-05/0.1458, allocations: 7.984 kB / 0.5043 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.519e-05/0.1459, allocations: 4 kB / 0.5043 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.358e-05/0.146, allocations: 0 / 0.5043 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.538e-05/0.1461, allocations: 15.91 kB / 0.5043 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1461, allocations: 0 / 0.5043 GB, free: 6.496 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-06/0.1461, allocations: 4 kB / 0.5043 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.389e-05/0.1462, allocations: 4 kB / 0.5043 GB, free: 6.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.1462, allocations: 7.938 kB / 0.5043 GB, free: 6.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 6.989e-05/0.1463, allocations: 7.984 kB / 0.5043 GB, free: 6.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1463, allocations: 4 kB / 0.5043 GB, free: 6.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1463, allocations: 0 / 0.5043 GB, free: 6.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1463, allocations: 0 / 0.5043 GB, free: 6.469 MB / 398.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.0005062/0.1468, allocations: 330.9 kB / 0.5046 GB, free: 6.098 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.1469, allocations: 12.03 kB / 0.5046 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.1469, allocations: 0.9375 kB / 0.5046 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.1471, allocations: 176.2 kB / 0.5048 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1471, allocations: 384 / 0.5048 GB, free: 5.875 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.1472, allocations: 12.31 kB / 0.5048 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.173e-05/0.1473, allocations: 34.25 kB / 0.5048 GB, free: 5.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1473, allocations: 8.172 kB / 0.5049 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1473, allocations: 3.938 kB / 0.5049 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1473, allocations: 0 / 0.5049 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.047e-05/0.1473, allocations: 0 / 0.5049 GB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.1475, allocations: 157.6 kB / 0.505 GB, free: 5.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.082e-05/0.1476, allocations: 30.59 kB / 0.505 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.1476, allocations: 12.86 kB / 0.505 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.1477, allocations: 0 / 0.505 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1477, allocations: 30.56 kB / 0.5051 GB, free: 5.516 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.1477, allocations: 0 / 0.5051 GB, free: 5.516 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001703/0.1479, allocations: 45.62 kB / 0.5051 GB, free: 5.465 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.1479, allocations: 51.41 kB / 0.5052 GB, free: 5.402 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.148, allocations: 106 kB / 0.5053 GB, free: 5.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1481, allocations: 33.7 kB / 0.5053 GB, free: 5.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.1481, allocations: 84.14 kB / 0.5054 GB, free: 5.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1481, allocations: 7.891 kB / 0.5054 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/0.1482, allocations: 9.719 kB / 0.5054 GB, free: 5.141 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1483, allocations: 318.8 kB / 0.5057 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.1484, allocations: 3.938 kB / 0.5057 GB, free: 4.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.1484, allocations: 17.7 kB / 0.5057 GB, free: 4.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.18e-05/0.1484, allocations: 25.78 kB / 0.5058 GB, free: 4.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1484, allocations: 0 / 0.5058 GB, free: 4.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.814e-05/0.1485, allocations: 45.62 kB / 0.5058 GB, free: 4.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1485, allocations: 8 kB / 0.5058 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.1485, allocations: 7.922 kB / 0.5058 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1486, allocations: 0 / 0.5058 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.1486, allocations: 4.25 kB / 0.5058 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1487, allocations: 4.062 kB / 0.5058 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.603e-05/0.1487, allocations: 8 kB / 0.5058 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1487, allocations: 0 / 0.5058 GB, free: 4.68 MB / 398.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 7.363e-05/0.1488, allocations: 109.8 kB / 0.5059 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.1488, allocations: 4 kB / 0.5059 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.897e-05/0.1489, allocations: 56.67 kB / 0.506 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1489, allocations: 0 / 0.506 GB, free: 4.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1489, allocations: 4 kB / 0.506 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1489, allocations: 7.969 kB / 0.506 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.149, allocations: 149.7 kB / 0.5061 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1491, allocations: 0 / 0.5061 GB, free: 4.289 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.1491, allocations: 4 kB / 0.5061 GB, free: 4.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1491, allocations: 3.938 kB / 0.5061 GB, free: 4.281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.1491, allocations: 7.938 kB / 0.5062 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1491, allocations: 0 / 0.5062 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1491, allocations: 0 / 0.5062 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1493, allocations: 88.95 kB / 0.5062 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.1493, allocations: 77.11 kB / 0.5063 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1493, allocations: 3.938 kB / 0.5063 GB, free: 4.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.1494, allocations: 3.984 kB / 0.5063 GB, free: 4.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.594e-05/0.1494, allocations: 4.031 kB / 0.5063 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.1494, allocations: 0 / 0.5063 GB, free: 4.062 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.287e-05/0.1495, allocations: 87.28 kB / 0.5064 GB, free: 3.977 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1495, allocations: 0 / 0.5064 GB, free: 3.977 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0001797/0.1497, allocations: 0 / 0.5064 GB, free: 3.977 MB / 398.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 0.0001121/0.1498, allocations: 103.3 kB / 0.5065 GB, free: 3.863 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.983e-05/0.1499, allocations: 12 kB / 0.5065 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1499, allocations: 0 / 0.5065 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/0.1499, allocations: 11.92 kB / 0.5065 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.1501, allocations: 4 kB / 0.5065 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.1504, allocations: 113.5 kB / 0.5066 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1507, allocations: 0.6848 MB / 0.5073 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.983e-05/0.1508, allocations: 0 / 0.5073 GB, free: 2.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.612e-05/0.1508, allocations: 11.44 kB / 0.5073 GB, free: 2.977 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1508, allocations: 0 / 0.5073 GB, free: 2.977 MB / 398.1 MB Notification: Performance of Templates: time 0.00257/0.1534, allocations: 321.1 kB / 0.5076 GB, free: 2.664 MB / 398.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)