Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.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.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 119.7 kB / 17.09 MB, free: 5.992 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.001538/0.001538, allocations: 196.6 kB / 18.02 MB, free: 5.066 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7487/0.7487, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001319, allocations: 68 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1602, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004271/0.1645, allocations: 2.363 MB / 0.635 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.1712, allocations: 3.808 MB / 0.6388 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003788/0.1716, allocations: 4 kB / 0.6388 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003244/0.1749, allocations: 1.046 MB / 0.6398 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.176, allocations: 434.3 kB / 0.6402 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.1774, allocations: 0.5185 MB / 0.6407 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004957/0.1823, allocations: 3.358 MB / 0.644 GB, free: 8.848 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.1825, allocations: 44.73 kB / 0.644 GB, free: 8.805 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.183, allocations: 227.2 kB / 0.6442 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.1834, allocations: 215.2 kB / 0.6444 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.192e-05/0.1835, allocations: 20 kB / 0.6445 GB, free: 8.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.1845, allocations: 0.5694 MB / 0.645 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.1848, allocations: 223.3 kB / 0.6452 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.1851, allocations: 250.5 kB / 0.6455 GB, free: 7.316 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.1866, allocations: 0.9619 MB / 0.6464 GB, free: 6.352 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1866, allocations: 4 kB / 0.6464 GB, free: 6.348 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1866, allocations: 0 / 0.6464 GB, free: 6.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.1867, allocations: 7.938 kB / 0.6464 GB, free: 6.34 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00194/0.1886, allocations: 0.9291 MB / 0.6473 GB, free: 5.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1887, allocations: 16.03 kB / 0.6473 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008914/0.1896, allocations: 144.1 kB / 0.6475 GB, free: 5.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.1914, allocations: 1.163 MB / 0.6486 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.1915, allocations: 15.95 kB / 0.6486 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.1915, allocations: 12 kB / 0.6486 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.192, allocations: 171.6 kB / 0.6488 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.192, allocations: 4 kB / 0.6488 GB, free: 3.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.1921, allocations: 4 kB / 0.6488 GB, free: 3.789 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1921, allocations: 0 / 0.6488 GB, free: 3.789 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006151/0.1927, allocations: 171.8 kB / 0.649 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.1942, allocations: 0.7341 MB / 0.6497 GB, free: 2.836 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/0.195, allocations: 178.6 kB / 0.6499 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.1952, allocations: 80.8 kB / 0.6499 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.1953, allocations: 7.984 kB / 0.65 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.1953, allocations: 34.56 kB / 0.65 GB, free: 2.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1953, allocations: 0 / 0.65 GB, free: 2.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0009787/0.1963, allocations: 304.7 kB / 0.6503 GB, free: 2.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1964, allocations: 59.39 kB / 0.6503 GB, free: 2.145 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000995/0.1974, allocations: 0.7812 MB / 0.6511 GB, free: 1.355 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.1974, allocations: 29.7 kB / 0.6511 GB, free: 1.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.1976, allocations: 256.4 kB / 0.6514 GB, free: 1.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.1977, allocations: 35.55 kB / 0.6514 GB, free: 1.027 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.1979, allocations: 158 kB / 0.6516 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.198, allocations: 370.8 kB / 0.6519 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.1986, allocations: 295.4 kB / 0.6522 GB, free: 208 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/0.1992, allocations: 412.4 kB / 0.6526 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/0.2001, allocations: 0.6169 MB / 0.6532 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.2002, allocations: 0 / 0.6532 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001358/0.2015, allocations: 0.7973 MB / 0.654 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.2016, allocations: 4 kB / 0.654 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.2016, allocations: 7.984 kB / 0.654 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.2016, allocations: 4 kB / 0.654 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.2023, allocations: 127.9 kB / 0.6541 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005494/0.2029, allocations: 0.6367 MB / 0.6547 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.2034, allocations: 71.41 kB / 0.6548 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.993e-05/0.2034, allocations: 20 kB / 0.6548 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006948/0.2041, allocations: 481.5 kB / 0.6553 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005664/0.2047, allocations: 403.1 kB / 0.6557 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009506/0.2057, allocations: 0.6079 MB / 0.6562 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.2057, allocations: 0 / 0.6562 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001314/0.207, allocations: 0.772 MB / 0.657 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.207, allocations: 8 kB / 0.657 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.207, allocations: 7.938 kB / 0.657 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.207, allocations: 4 kB / 0.657 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.2076, allocations: 136 kB / 0.6572 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.2076, allocations: 7.938 kB / 0.6572 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.208, allocations: 59.59 kB / 0.6572 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.2081, allocations: 23.98 kB / 0.6572 GB, free: 10.83 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (55): * Single equations (assignments): 52 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.2083, allocations: 209.8 kB / 0.6574 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.2084, allocations: 51.25 kB / 0.6575 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007254/0.2091, allocations: 235 kB / 0.6577 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.2091, allocations: 4 kB / 0.6577 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2092, allocations: 3.938 kB / 0.6577 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2092, allocations: 3.984 kB / 0.6577 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.2097, allocations: 393 kB / 0.6581 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.2097, allocations: 4 kB / 0.6581 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.21, allocations: 51.89 kB / 0.6582 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.21, allocations: 0 / 0.6582 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.21, allocations: 4 kB / 0.6582 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000341/0.2103, allocations: 0.6055 MB / 0.6587 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.2104, allocations: 4.094 kB / 0.6588 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006601/0.211, allocations: 334.8 kB / 0.6591 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.2112, allocations: 164.2 kB / 0.6592 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.461e-05/0.2113, allocations: 8 kB / 0.6592 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/0.2116, allocations: 19.97 kB / 0.6593 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.2116, allocations: 4 kB / 0.6593 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.2117, allocations: 15.98 kB / 0.6593 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006464/0.2123, allocations: 0.5224 MB / 0.6598 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2123, allocations: 0 / 0.6598 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009171/0.2133, allocations: 303.8 kB / 0.6601 GB, free: 7.809 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007811/0.214, allocations: 338.8 kB / 0.6604 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002034/0.2161, allocations: 0.8761 MB / 0.6613 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2161, allocations: 0 / 0.6613 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.2165, allocations: 100.4 kB / 0.6613 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008474/0.2173, allocations: 202 kB / 0.6615 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.2201, allocations: 1.155 MB / 0.6627 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004643/0.2205, allocations: 0.8974 MB / 0.6635 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.2207, allocations: 51.42 kB / 0.6636 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of SimCode: time 1.743e-06/0.2207, allocations: 0 / 0.6636 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of Templates: time 0.01819/0.2389, allocations: 11.57 MB / 0.6749 GB, free: 8.629 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)