Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007741/0.007741, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001536/0.001536, allocations: 193.6 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.565/1.565, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.42/0.42, allocations: 54.95 MB / 324.8 MB, free: 15.96 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.002455/0.002455, allocations: 73.31 kB / 456.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1587, allocations: 59.59 MB / 0.5037 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003667/0.1624, allocations: 2.058 MB / 0.5057 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00387/0.1663, allocations: 1.971 MB / 0.5076 GB, free: 6.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003409/0.1667, allocations: 8.594 kB / 0.5077 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008469/0.1676, allocations: 256.7 kB / 0.5079 GB, free: 6.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000771/0.1683, allocations: 298.6 kB / 0.5082 GB, free: 6.156 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.1694, allocations: 488 kB / 0.5086 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000683/0.1701, allocations: 457 kB / 0.5091 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1702, allocations: 44.38 kB / 0.5091 GB, free: 5.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.1704, allocations: 171.4 kB / 0.5093 GB, free: 5.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.1707, allocations: 163.4 kB / 0.5094 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.991e-05/0.1707, allocations: 16 kB / 0.5095 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006542/0.1714, allocations: 447.2 kB / 0.5099 GB, free: 4.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1715, allocations: 99.75 kB / 0.51 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.1716, allocations: 119.3 kB / 0.5101 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006023/0.1722, allocations: 0.5881 MB / 0.5107 GB, free: 3.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1722, allocations: 0 / 0.5107 GB, free: 3.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1723, allocations: 0 / 0.5107 GB, free: 3.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1723, allocations: 4 kB / 0.5107 GB, free: 3.855 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007312/0.173, allocations: 0.5955 MB / 0.5113 GB, free: 3.211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.173, allocations: 8.031 kB / 0.5113 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002989/0.1734, allocations: 56.62 kB / 0.5113 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.1738, allocations: 340.2 kB / 0.5116 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.1739, allocations: 8.375 kB / 0.5116 GB, free: 2.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1739, allocations: 15.88 kB / 0.5117 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.1742, allocations: 153.6 kB / 0.5118 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1742, allocations: 0 / 0.5118 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1743, allocations: 4 kB / 0.5118 GB, free: 2.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1743, allocations: 4 kB / 0.5118 GB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003309/0.1746, allocations: 127.9 kB / 0.5119 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006104/0.1752, allocations: 0.4925 MB / 0.5124 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.1756, allocations: 126.5 kB / 0.5125 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.1757, allocations: 60.81 kB / 0.5126 GB, free: 1.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.1758, allocations: 7.984 kB / 0.5126 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.1758, allocations: 38.56 kB / 0.5126 GB, free: 1.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.1758, allocations: 192 / 0.5126 GB, free: 1.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006243/0.1764, allocations: 237.2 kB / 0.5129 GB, free: 1.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.1765, allocations: 55.34 kB / 0.5129 GB, free: 1.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.1767, allocations: 336.4 kB / 0.5132 GB, free: 1.027 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1768, allocations: 29.7 kB / 0.5133 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1769, allocations: 156 kB / 0.5134 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.1769, allocations: 23.56 kB / 0.5134 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.177, allocations: 53.69 kB / 0.5135 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.1771, allocations: 334.8 kB / 0.5138 GB, free: 428 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1773, allocations: 120.8 kB / 0.5139 GB, free: 304 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.1776, allocations: 162.6 kB / 0.5141 GB, free: 120 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.1781, allocations: 274.6 kB / 0.5143 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.1781, allocations: 4 kB / 0.5144 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006849/0.1788, allocations: 337.2 kB / 0.5147 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1789, allocations: 11.92 kB / 0.5147 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.1789, allocations: 4 kB / 0.5147 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.1789, allocations: 3.938 kB / 0.5147 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.1792, allocations: 47.97 kB / 0.5147 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.1792, allocations: 3.938 kB / 0.5147 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.1793, allocations: 27.77 kB / 0.5148 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.1794, allocations: 16 kB / 0.5148 GB, free: 15.37 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000328/0.1797, allocations: 208 kB / 0.515 GB, free: 15.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000245/0.18, allocations: 142.8 kB / 0.5151 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004615/0.1804, allocations: 242 kB / 0.5153 GB, free: 14.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.1805, allocations: 3.938 kB / 0.5154 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0005901/0.1811, allocations: 289.3 kB / 0.5156 GB, free: 14.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.1811, allocations: 8 kB / 0.5156 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.1811, allocations: 0 / 0.5156 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.1811, allocations: 4 kB / 0.5156 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.1813, allocations: 43.91 kB / 0.5157 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.1813, allocations: 7.938 kB / 0.5157 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.1815, allocations: 19.89 kB / 0.5157 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.1815, allocations: 8 kB / 0.5157 GB, free: 14.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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 0.0001414/0.1816, allocations: 196.1 kB / 0.5159 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.408e-05/0.1817, allocations: 31.7 kB / 0.5159 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.1822, allocations: 192.2 kB / 0.5161 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1823, allocations: 7.938 kB / 0.5161 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1823, allocations: 4 kB / 0.5161 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1823, allocations: 4 kB / 0.5161 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003316/0.1826, allocations: 269.5 kB / 0.5164 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1826, allocations: 3.984 kB / 0.5164 GB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1828, allocations: 23.98 kB / 0.5164 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1828, allocations: 0 / 0.5164 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1828, allocations: 4 kB / 0.5164 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1828, allocations: 11.86 kB / 0.5164 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1828, allocations: 0 / 0.5164 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.1833, allocations: 279.2 kB / 0.5167 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.1834, allocations: 104.7 kB / 0.5168 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.1835, allocations: 0 / 0.5168 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.1836, allocations: 23.86 kB / 0.5168 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1837, allocations: 4 kB / 0.5168 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1837, allocations: 7.938 kB / 0.5168 GB, free: 13.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.184, allocations: 243 kB / 0.5171 GB, free: 12.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.184, allocations: 0 / 0.5171 GB, free: 12.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006416/0.1846, allocations: 147.9 kB / 0.5172 GB, free: 12.73 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0005107/0.1852, allocations: 195.2 kB / 0.5174 GB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008258/0.186, allocations: 324 kB / 0.5177 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.186, allocations: 0 / 0.5177 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.1862, allocations: 71.89 kB / 0.5178 GB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.1868, allocations: 104.3 kB / 0.5179 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/0.1877, allocations: 483.4 kB / 0.5183 GB, free: 11.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.1881, allocations: 0.7677 MB / 0.5191 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.1884, allocations: 86.86 kB / 0.5192 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.691e-05/0.1885, allocations: 31.42 kB / 0.5192 GB, free: 10.64 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1885, allocations: 0 / 0.5192 GB, free: 10.64 MB / 398.1 MB Notification: Performance of Templates: time 0.01451/0.2031, allocations: 6.56 MB / 0.5256 GB, free: 4.137 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)