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.0007899/0.0007902, allocations: 98.97 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008712/0.0008717, allocations: 182.8 kB / 16.92 MB, free: 6.754 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7134/0.7134, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003175/0.0003175, allocations: 8.906 kB / 495.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 77.54 MB / 0.56 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.002771/0.1464, allocations: 2.058 MB / 0.562 GB, free: 6.992 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005898/0.1523, allocations: 3.826 MB / 0.5657 GB, free: 3.152 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.1525, allocations: 7.938 kB / 0.5657 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005406/0.158, allocations: 3.178 MB / 0.5688 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007879/0.1588, allocations: 370.7 kB / 0.5692 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009712/0.1597, allocations: 456.1 kB / 0.5696 GB, free: 15.16 MB / 446.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.004569/0.1643, allocations: 3.592 MB / 0.5731 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1645, allocations: 36.72 kB / 0.5731 GB, free: 11.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002815/0.1647, allocations: 191.2 kB / 0.5733 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.165, allocations: 223.1 kB / 0.5735 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.1651, allocations: 8 kB / 0.5735 GB, free: 11.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009696/0.1661, allocations: 0.6044 MB / 0.5741 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.1663, allocations: 207.3 kB / 0.5743 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.1665, allocations: 260.2 kB / 0.5746 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.1675, allocations: 0.9382 MB / 0.5755 GB, free: 9.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1675, allocations: 0 / 0.5755 GB, free: 9.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1676, allocations: 0 / 0.5755 GB, free: 9.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.1676, allocations: 0 / 0.5755 GB, free: 9.098 MB / 446.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.001407/0.169, allocations: 0.8633 MB / 0.5763 GB, free: 8.184 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.169, allocations: 12.03 kB / 0.5764 GB, free: 8.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008332/0.1699, allocations: 156.1 kB / 0.5765 GB, free: 8.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.1714, allocations: 1.14 MB / 0.5776 GB, free: 6.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.333e-05/0.1715, allocations: 8 kB / 0.5776 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.1715, allocations: 11.98 kB / 0.5776 GB, free: 6.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.172, allocations: 195.2 kB / 0.5778 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.172, allocations: 0 / 0.5778 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.1721, allocations: 0 / 0.5778 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1721, allocations: 4 kB / 0.5778 GB, free: 6.621 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007491/0.1728, allocations: 199.8 kB / 0.578 GB, free: 6.426 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.174, allocations: 0.7223 MB / 0.5787 GB, free: 5.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008561/0.1749, allocations: 206.5 kB / 0.5789 GB, free: 5.441 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/0.1752, allocations: 96.73 kB / 0.579 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1753, allocations: 4 kB / 0.579 GB, free: 5.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1753, allocations: 30.56 kB / 0.579 GB, free: 5.301 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.1753, allocations: 0 / 0.579 GB, free: 5.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.001037/0.1763, allocations: 348.7 kB / 0.5794 GB, free: 4.953 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1764, allocations: 55.34 kB / 0.5794 GB, free: 4.887 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008466/0.1772, allocations: 0.7773 MB / 0.5802 GB, free: 4.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.1773, allocations: 29.7 kB / 0.5802 GB, free: 4.066 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.1775, allocations: 252.4 kB / 0.5805 GB, free: 3.816 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.1775, allocations: 43.53 kB / 0.5805 GB, free: 3.773 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.932e-05/0.1776, allocations: 89.66 kB / 0.5806 GB, free: 3.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1778, allocations: 378.7 kB / 0.5809 GB, free: 3.301 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/0.1784, allocations: 297.4 kB / 0.5812 GB, free: 3.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.179, allocations: 424.3 kB / 0.5816 GB, free: 2.559 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.1801, allocations: 0.6415 MB / 0.5823 GB, free: 1.883 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.1801, allocations: 4 kB / 0.5823 GB, free: 1.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001541/0.1817, allocations: 0.8125 MB / 0.5831 GB, free: 1.062 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.1818, allocations: 181.6 kB / 0.5832 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.1819, allocations: 0 / 0.5832 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1819, allocations: 8 kB / 0.5832 GB, free: 0.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.1826, allocations: 135.8 kB / 0.5834 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006153/0.1833, allocations: 0.6289 MB / 0.584 GB, free: 48 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2634/0.4467, allocations: 77.77 kB / 0.5841 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.4468, allocations: 24.38 kB / 0.5841 GB, free: 31.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4468, allocations: 3.531 kB / 0.5841 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/0.4484, allocations: 0.7305 MB / 0.5848 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4484, allocations: 3.094 kB / 0.5848 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4484, allocations: 5.203 kB / 0.5848 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.449, allocations: 137.4 kB / 0.5849 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.4491, allocations: 8.625 kB / 0.5849 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.4495, allocations: 64.23 kB / 0.585 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/0.4496, allocations: 23.05 kB / 0.585 GB, free: 31.24 MB / 446.1 MB 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.0003826/0.45, allocations: 319.8 kB / 0.5853 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.4501, allocations: 53.67 kB / 0.5854 GB, free: 31.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00082/0.4509, allocations: 268.2 kB / 0.5856 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.4509, allocations: 0.7812 kB / 0.5856 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4509, allocations: 1.031 kB / 0.5856 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4509, allocations: 4.031 kB / 0.5856 GB, free: 31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.4514, allocations: 386.3 kB / 0.586 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4514, allocations: 1.859 kB / 0.586 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.4517, allocations: 59.58 kB / 0.5861 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4517, allocations: 5.328 kB / 0.5861 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4518, allocations: 2.719 kB / 0.5861 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002104/0.452, allocations: 0.6091 MB / 0.5867 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.452, allocations: 0 / 0.5867 GB, free: 30.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00072/0.4527, allocations: 363.4 kB / 0.587 GB, free: 30.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.4529, allocations: 161.8 kB / 0.5872 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.4529, allocations: 12.95 kB / 0.5872 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.4532, allocations: 27.52 kB / 0.5872 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.572e-05/0.4533, allocations: 10.75 kB / 0.5872 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.4533, allocations: 3.516 kB / 0.5872 GB, free: 29.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006916/0.454, allocations: 0.5199 MB / 0.5877 GB, free: 29.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.454, allocations: 0 / 0.5877 GB, free: 29.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001418/0.4554, allocations: 294.5 kB / 0.588 GB, free: 29.86 MB / 446.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): 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.0008214/0.4563, allocations: 339.1 kB / 0.5883 GB, free: 29.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002693/0.459, allocations: 0.9114 MB / 0.5892 GB, free: 29.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.459, allocations: 0 / 0.5892 GB, free: 29.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004229/0.4594, allocations: 111.3 kB / 0.5893 GB, free: 29.74 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009192/0.4604, allocations: 188.4 kB / 0.5895 GB, free: 29.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.4632, allocations: 1.239 MB / 0.5907 GB, free: 29.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.4637, allocations: 0.8969 MB / 0.5916 GB, free: 28.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006591/0.4643, allocations: 183.8 kB / 0.5918 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/0.4645, allocations: 52.83 kB / 0.5918 GB, free: 28.46 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4645, allocations: 0 / 0.5918 GB, free: 28.46 MB / 446.1 MB Notification: Performance of Templates: time 0.02261/0.4872, allocations: 11.07 MB / 0.6026 GB, free: 25.86 MB / 446.1 MB 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)