Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001356/0.001357, allocations: 111.8 kB / 17.08 MB, free: 6.02 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.001399/0.001399, allocations: 192.7 kB / 18.01 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6966/0.6966, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.14 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1469, allocations: 76.18 MB / 0.6327 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003474/0.1504, allocations: 2.29 MB / 0.635 GB, free: 2.102 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005515/0.1559, allocations: 3.788 MB / 0.6387 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.1561, allocations: 4 kB / 0.6387 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.1587, allocations: 1.055 MB / 0.6397 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007211/0.1594, allocations: 414.4 kB / 0.6401 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009588/0.1604, allocations: 0.5146 MB / 0.6406 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003988/0.1644, allocations: 3.148 MB / 0.6437 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1645, allocations: 52.7 kB / 0.6437 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003536/0.1649, allocations: 227.3 kB / 0.6439 GB, free: 8.891 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003285/0.1652, allocations: 215.2 kB / 0.6441 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.091e-05/0.1653, allocations: 20 kB / 0.6442 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.1664, allocations: 0.7486 MB / 0.6449 GB, free: 7.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.1666, allocations: 211.5 kB / 0.6451 GB, free: 7.703 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.1669, allocations: 246.5 kB / 0.6453 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.1682, allocations: 1.028 MB / 0.6463 GB, free: 6.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1682, allocations: 0 / 0.6463 GB, free: 6.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1682, allocations: 4 kB / 0.6463 GB, free: 6.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.1683, allocations: 0 / 0.6463 GB, free: 6.426 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001345/0.1696, allocations: 0.875 MB / 0.6472 GB, free: 5.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1697, allocations: 8.031 kB / 0.6472 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.1709, allocations: 220 kB / 0.6474 GB, free: 5.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.1727, allocations: 0.9715 MB / 0.6484 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1728, allocations: 12 kB / 0.6484 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.1728, allocations: 16 kB / 0.6484 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005084/0.1733, allocations: 255.2 kB / 0.6486 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1733, allocations: 4 kB / 0.6486 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.1734, allocations: 8 kB / 0.6486 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.1734, allocations: 4 kB / 0.6486 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.174, allocations: 235.8 kB / 0.6489 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.1752, allocations: 0.8277 MB / 0.6497 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.1758, allocations: 294.7 kB / 0.65 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.1762, allocations: 124.7 kB / 0.6501 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1762, allocations: 4 kB / 0.6501 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.1762, allocations: 34.5 kB / 0.6501 GB, free: 2.387 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.273e-06/0.1762, allocations: 0 / 0.6501 GB, free: 2.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.001077/0.1773, allocations: 441 kB / 0.6505 GB, free: 1.949 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.1774, allocations: 55.39 kB / 0.6506 GB, free: 1.883 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.1781, allocations: 0.7421 MB / 0.6513 GB, free: 1.133 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.1782, allocations: 33.64 kB / 0.6513 GB, free: 1.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.1783, allocations: 232.6 kB / 0.6516 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.1784, allocations: 35.55 kB / 0.6516 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.1786, allocations: 165.9 kB / 0.6518 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1787, allocations: 370.8 kB / 0.6521 GB, free: 292 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006234/0.1793, allocations: 443 kB / 0.6525 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006715/0.18, allocations: 0.52 MB / 0.653 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.1812, allocations: 0.8702 MB / 0.6539 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1812, allocations: 0 / 0.6539 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00149/0.1827, allocations: 1.068 MB / 0.6549 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.1827, allocations: 8.219 kB / 0.6549 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1827, allocations: 4 kB / 0.6549 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1828, allocations: 4 kB / 0.655 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/0.1832, allocations: 111.9 kB / 0.6551 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1832, allocations: 7.938 kB / 0.6551 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.1836, allocations: 67.41 kB / 0.6551 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/0.1837, allocations: 32 kB / 0.6552 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007159/0.1844, allocations: 0.5364 MB / 0.6557 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005998/0.185, allocations: 468.5 kB / 0.6561 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001014/0.186, allocations: 0.7276 MB / 0.6568 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/0.1861, allocations: 4 kB / 0.6568 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001319/0.1874, allocations: 0.9184 MB / 0.6577 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1874, allocations: 7.938 kB / 0.6578 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1874, allocations: 7.938 kB / 0.6578 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.39e-06/0.1874, allocations: 8.219 kB / 0.6578 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.1878, allocations: 99.88 kB / 0.6579 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.1878, allocations: 7.984 kB / 0.6579 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.1882, allocations: 59.66 kB / 0.6579 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.1883, allocations: 27.98 kB / 0.658 GB, free: 10.17 MB / 0.4981 GB 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001463/0.1884, allocations: 196.1 kB / 0.6581 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.1885, allocations: 55.28 kB / 0.6582 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008471/0.1894, allocations: 362.5 kB / 0.6585 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1894, allocations: 4 kB / 0.6585 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1894, allocations: 0 / 0.6585 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1894, allocations: 0 / 0.6585 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.1898, allocations: 409.1 kB / 0.6589 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.1898, allocations: 7.938 kB / 0.6589 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.1901, allocations: 43.91 kB / 0.659 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1901, allocations: 0 / 0.659 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.1901, allocations: 7.984 kB / 0.659 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1901, allocations: 8 kB / 0.659 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1901, allocations: 0 / 0.659 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.1909, allocations: 414.6 kB / 0.6594 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.191, allocations: 140.4 kB / 0.6595 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.1911, allocations: 8 kB / 0.6595 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.1914, allocations: 23.97 kB / 0.6596 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.1914, allocations: 7.984 kB / 0.6596 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.1914, allocations: 12 kB / 0.6596 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005167/0.192, allocations: 0.4951 MB / 0.6601 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.192, allocations: 0 / 0.6601 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008709/0.1928, allocations: 323.8 kB / 0.6604 GB, free: 7.598 MB / 0.4981 GB 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 (11): * Single equations (assignments): 11 * 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.0006599/0.1935, allocations: 374.8 kB / 0.6607 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00176/0.1953, allocations: 1.134 MB / 0.6618 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1953, allocations: 0 / 0.6618 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.1956, allocations: 140.5 kB / 0.662 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007741/0.1964, allocations: 221.1 kB / 0.6622 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.1978, allocations: 0.968 MB / 0.6631 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.1983, allocations: 0.8856 MB / 0.664 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.1985, allocations: 59.39 kB / 0.664 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1985, allocations: 0 / 0.664 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.01436/0.2129, allocations: 10.04 MB / 0.6739 GB, free: 9.789 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)