Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001153/0.001153, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001256/0.001257, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 282.8 kB / 291.3 MB, free: 14.56 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9683/0.9683, allocations: 169.3 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 102.6 kB / 0.5959 GB, free: 4.055 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1757, allocations: 86.95 MB / 0.6808 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004027/0.1798, allocations: 2.374 MB / 0.6831 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006139/0.186, allocations: 3.795 MB / 0.6869 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003448/0.1863, allocations: 8 kB / 0.6869 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.006165/0.1926, allocations: 3.213 MB / 0.69 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.1936, allocations: 402.4 kB / 0.6904 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1949, allocations: 0.5107 MB / 0.6909 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004413/0.1993, allocations: 3.304 MB / 0.6941 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1995, allocations: 44.72 kB / 0.6942 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.1999, allocations: 207.3 kB / 0.6943 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.2002, allocations: 207.1 kB / 0.6945 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.838e-05/0.2003, allocations: 16 kB / 0.6946 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009845/0.2013, allocations: 0.5732 MB / 0.6951 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.2015, allocations: 207.4 kB / 0.6953 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.2018, allocations: 258.5 kB / 0.6956 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.2031, allocations: 0.9424 MB / 0.6965 GB, free: 13.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2031, allocations: 4 kB / 0.6965 GB, free: 13.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2031, allocations: 0 / 0.6965 GB, free: 13.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.2031, allocations: 0 / 0.6965 GB, free: 13.02 MB / 0.545 GB 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.001783/0.2049, allocations: 0.9175 MB / 0.6974 GB, free: 12.05 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.205, allocations: 12.03 kB / 0.6974 GB, free: 12.04 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009224/0.2059, allocations: 152.1 kB / 0.6975 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.2075, allocations: 1.152 MB / 0.6987 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.2076, allocations: 11.95 kB / 0.6987 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.2077, allocations: 12 kB / 0.6987 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.2082, allocations: 176.3 kB / 0.6989 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.2082, allocations: 3.938 kB / 0.6989 GB, free: 10.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.2082, allocations: 8 kB / 0.6989 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.2082, allocations: 0 / 0.6989 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006509/0.2089, allocations: 175.8 kB / 0.699 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.2102, allocations: 0.7261 MB / 0.6997 GB, free: 9.531 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008769/0.2111, allocations: 198.5 kB / 0.6999 GB, free: 9.328 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.2114, allocations: 80.73 kB / 0.7 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.2115, allocations: 4 kB / 0.7 GB, free: 9.242 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.2115, allocations: 34.56 kB / 0.7 GB, free: 9.199 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.2115, allocations: 0 / 0.7 GB, free: 9.199 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.001064/0.2126, allocations: 312.7 kB / 0.7003 GB, free: 8.887 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.2126, allocations: 55.41 kB / 0.7004 GB, free: 8.82 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/0.2135, allocations: 0.7772 MB / 0.7012 GB, free: 8.031 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.2135, allocations: 33.7 kB / 0.7012 GB, free: 7.992 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.2137, allocations: 248.5 kB / 0.7014 GB, free: 7.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.2138, allocations: 35.55 kB / 0.7015 GB, free: 7.707 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.214, allocations: 154 kB / 0.7016 GB, free: 7.551 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2141, allocations: 378.7 kB / 0.702 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/0.2147, allocations: 295.3 kB / 0.7023 GB, free: 6.879 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006004/0.2153, allocations: 412.3 kB / 0.7026 GB, free: 6.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00099/0.2163, allocations: 0.6208 MB / 0.7033 GB, free: 5.785 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.2163, allocations: 4 kB / 0.7033 GB, free: 5.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001348/0.2177, allocations: 0.789 MB / 0.704 GB, free: 4.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2177, allocations: 11.94 kB / 0.704 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.2177, allocations: 4 kB / 0.704 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.2177, allocations: 4 kB / 0.704 GB, free: 4.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007045/0.2184, allocations: 136 kB / 0.7042 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005183/0.219, allocations: 0.6289 MB / 0.7048 GB, free: 4.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004272/0.2194, allocations: 79.44 kB / 0.7049 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.605e-05/0.2195, allocations: 23.98 kB / 0.7049 GB, free: 4.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006767/0.2201, allocations: 476.3 kB / 0.7053 GB, free: 3.613 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005715/0.2207, allocations: 412.3 kB / 0.7057 GB, free: 3.168 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009521/0.2217, allocations: 0.608 MB / 0.7063 GB, free: 2.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.2217, allocations: 0 / 0.7063 GB, free: 2.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001272/0.223, allocations: 0.7838 MB / 0.7071 GB, free: 1.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.223, allocations: 4 kB / 0.7071 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.223, allocations: 4 kB / 0.7071 GB, free: 1.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.223, allocations: 4 kB / 0.7071 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005069/0.2235, allocations: 127.8 kB / 0.7072 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.2235, allocations: 7.938 kB / 0.7072 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.2239, allocations: 75.64 kB / 0.7073 GB, free: 1.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.224, allocations: 27.98 kB / 0.7073 GB, free: 1.484 MB / 0.545 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.0001396/0.2241, allocations: 192.2 kB / 0.7075 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/0.2242, allocations: 55.25 kB / 0.7076 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007718/0.225, allocations: 246.9 kB / 0.7078 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.225, allocations: 4 kB / 0.7078 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.225, allocations: 3.938 kB / 0.7078 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.225, allocations: 4 kB / 0.7078 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.2255, allocations: 393.1 kB / 0.7082 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2255, allocations: 0 / 0.7082 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.2258, allocations: 59.89 kB / 0.7082 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2258, allocations: 0 / 0.7082 GB, free: 492 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.2258, allocations: 4 kB / 0.7083 GB, free: 488 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3421/0.5679, allocations: 0.5972 MB / 0.7088 GB, free: 61.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.568, allocations: 0 / 0.7088 GB, free: 61.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.569, allocations: 341.5 kB / 0.7092 GB, free: 61.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.5692, allocations: 156.1 kB / 0.7093 GB, free: 61.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/0.5693, allocations: 4.781 kB / 0.7093 GB, free: 61.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.5697, allocations: 25.62 kB / 0.7093 GB, free: 61.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.5697, allocations: 11.38 kB / 0.7093 GB, free: 61.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.5698, allocations: 5.188 kB / 0.7094 GB, free: 61.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008129/0.5706, allocations: 0.5192 MB / 0.7099 GB, free: 61.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5706, allocations: 0.9688 kB / 0.7099 GB, free: 61.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00109/0.5717, allocations: 303.7 kB / 0.7102 GB, free: 61.2 MB / 0.545 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.000761/0.5724, allocations: 334.8 kB / 0.7105 GB, free: 61.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002187/0.5746, allocations: 0.8949 MB / 0.7113 GB, free: 61.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5747, allocations: 1.406 kB / 0.7113 GB, free: 61.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.5751, allocations: 99.2 kB / 0.7114 GB, free: 61.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008878/0.576, allocations: 197.8 kB / 0.7116 GB, free: 61.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.5786, allocations: 1.16 MB / 0.7128 GB, free: 60.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.579, allocations: 0.9044 MB / 0.7136 GB, free: 59.92 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.5791, allocations: 51.75 kB / 0.7137 GB, free: 59.91 MB / 0.545 GB Notification: Performance of SimCode: time 2.064e-06/0.5791, allocations: 0 / 0.7137 GB, free: 59.91 MB / 0.545 GB Notification: Performance of Templates: time 0.0143/0.5935, allocations: 11.51 MB / 0.7249 GB, free: 58.9 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)