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.0009879/0.0009881, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.007732/0.007732, allocations: 171.2 kB / 16.27 MB, free: 6.648 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0017/0.0017, allocations: 282.6 kB / 291.7 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9229/0.9229, allocations: 169.5 MB / 0.5004 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004432/0.0004432, allocations: 15.81 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1714, allocations: 88.54 MB / 0.6851 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.002889/0.1744, allocations: 2.068 MB / 0.6871 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006584/0.181, allocations: 3.826 MB / 0.6909 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002506/0.1813, allocations: 9.656 kB / 0.6909 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005998/0.1873, allocations: 3.183 MB / 0.694 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008997/0.1882, allocations: 362.7 kB / 0.6943 GB, free: 5.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1893, allocations: 467.2 kB / 0.6948 GB, free: 5.133 MB / 494.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.004968/0.1942, allocations: 3.588 MB / 0.6983 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.1944, allocations: 48.59 kB / 0.6983 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.1947, allocations: 183.3 kB / 0.6985 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.1951, allocations: 227.1 kB / 0.6987 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.1951, allocations: 12 kB / 0.6987 GB, free: 1.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.1963, allocations: 0.5926 MB / 0.6993 GB, free: 496 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.1965, allocations: 203.4 kB / 0.6995 GB, free: 292 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.1967, allocations: 268.2 kB / 0.6998 GB, free: 16 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.1978, allocations: 0.9422 MB / 0.7007 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1978, allocations: 3.938 kB / 0.7007 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1978, allocations: 3.938 kB / 0.7007 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.1978, allocations: 0 / 0.7007 GB, free: 15.06 MB / 0.4981 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.001436/0.1993, allocations: 0.8516 MB / 0.7015 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1993, allocations: 8.031 kB / 0.7015 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00084/0.2002, allocations: 152.1 kB / 0.7017 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.2016, allocations: 1.14 MB / 0.7028 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.2017, allocations: 7.984 kB / 0.7028 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.417e-05/0.2017, allocations: 12 kB / 0.7028 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.2022, allocations: 189.5 kB / 0.703 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2022, allocations: 7.938 kB / 0.703 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.2023, allocations: 0 / 0.703 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2023, allocations: 4 kB / 0.703 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.203, allocations: 203.8 kB / 0.7032 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001332/0.2043, allocations: 0.7185 MB / 0.7039 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/0.2052, allocations: 202.6 kB / 0.7041 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.2055, allocations: 88.8 kB / 0.7042 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.2055, allocations: 8 kB / 0.7042 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.2055, allocations: 30.56 kB / 0.7042 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.2055, allocations: 0 / 0.7042 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.001097/0.2066, allocations: 344.7 kB / 0.7045 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2067, allocations: 51.41 kB / 0.7046 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009478/0.2076, allocations: 0.785 MB / 0.7054 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.2077, allocations: 33.69 kB / 0.7054 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.2079, allocations: 256.4 kB / 0.7056 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.208, allocations: 31.55 kB / 0.7057 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.2081, allocations: 89.66 kB / 0.7058 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2082, allocations: 378.7 kB / 0.7061 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005407/0.2088, allocations: 297.4 kB / 0.7064 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.2094, allocations: 432.3 kB / 0.7068 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.2106, allocations: 0.6442 MB / 0.7074 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2106, allocations: 0 / 0.7074 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00149/0.2121, allocations: 0.8129 MB / 0.7082 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.2122, allocations: 176.8 kB / 0.7084 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2122, allocations: 4 kB / 0.7084 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.2122, allocations: 4.094 kB / 0.7084 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007288/0.213, allocations: 139.7 kB / 0.7085 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005761/0.2136, allocations: 0.6328 MB / 0.7092 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004302/0.214, allocations: 83.33 kB / 0.7092 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.2141, allocations: 24.09 kB / 0.7093 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.842e-06/0.2141, allocations: 8 kB / 0.7093 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001347/0.2154, allocations: 0.7242 MB / 0.71 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.2154, allocations: 4 kB / 0.71 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.2155, allocations: 8 kB / 0.71 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.216, allocations: 135.8 kB / 0.7101 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.216, allocations: 8.125 kB / 0.7101 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/0.2164, allocations: 63.66 kB / 0.7102 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.883e-05/0.2164, allocations: 27.98 kB / 0.7102 GB, free: 4.941 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.0002938/0.2167, allocations: 318.2 kB / 0.7105 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.981e-05/0.2168, allocations: 55.25 kB / 0.7106 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007796/0.2176, allocations: 266.9 kB / 0.7108 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.2176, allocations: 7.984 kB / 0.7108 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2176, allocations: 0 / 0.7108 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2176, allocations: 3.938 kB / 0.7108 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.2182, allocations: 381.3 kB / 0.7112 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2182, allocations: 0 / 0.7112 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.2185, allocations: 63.95 kB / 0.7113 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.2185, allocations: 0 / 0.7113 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.2185, allocations: 4 kB / 0.7113 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004504/0.219, allocations: 0.6015 MB / 0.7119 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.219, allocations: 0 / 0.7119 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.2197, allocations: 370.9 kB / 0.7122 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.2199, allocations: 152.3 kB / 0.7124 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.22, allocations: 3.938 kB / 0.7124 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.2202, allocations: 35.97 kB / 0.7124 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.2203, allocations: 7.984 kB / 0.7124 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.2203, allocations: 4 kB / 0.7124 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000585/0.2209, allocations: 0.5224 MB / 0.7129 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2209, allocations: 0 / 0.7129 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009346/0.2219, allocations: 295.8 kB / 0.7132 GB, free: 1.766 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.0006531/0.2225, allocations: 345.5 kB / 0.7135 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.2247, allocations: 0.9158 MB / 0.7144 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2247, allocations: 3.938 kB / 0.7144 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004029/0.2251, allocations: 112.4 kB / 0.7145 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008409/0.226, allocations: 196.6 kB / 0.7147 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.2287, allocations: 1.234 MB / 0.7159 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.2293, allocations: 0.8935 MB / 0.7168 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000612/0.2299, allocations: 184.3 kB / 0.717 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.2301, allocations: 51.42 kB / 0.717 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2301, allocations: 0 / 0.717 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.01818/0.2483, allocations: 11.1 MB / 0.7279 GB, free: 2.832 MB / 0.5137 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)