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.001126/0.001126, allocations: 101.9 kB / 15.98 MB, free: 6.344 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.00113/0.00113, allocations: 195 kB / 16.91 MB, free: 6.188 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7979/0.7979, allocations: 122.9 MB / 413.6 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 63.91 kB / 0.4906 GB, free: 7.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3881, allocations: 77.92 MB / 0.5667 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004768/0.3929, allocations: 2.413 MB / 0.5691 GB, free: 31.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00666/0.3996, allocations: 3.769 MB / 0.5727 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000577/0.4003, allocations: 5.25 kB / 0.5727 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007939/0.4083, allocations: 3.277 MB / 0.5759 GB, free: 27.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001498/0.4098, allocations: 370.2 kB / 0.5763 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.4115, allocations: 478.1 kB / 0.5767 GB, free: 27.26 MB / 446.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.007343/0.4188, allocations: 3.499 MB / 0.5802 GB, free: 25.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.4192, allocations: 49.86 kB / 0.5802 GB, free: 25.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006517/0.4199, allocations: 211.8 kB / 0.5804 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.4204, allocations: 238.5 kB / 0.5806 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.396e-05/0.4206, allocations: 16.5 kB / 0.5807 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.4222, allocations: 0.5746 MB / 0.5812 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002925/0.4225, allocations: 214.1 kB / 0.5814 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.4229, allocations: 252.8 kB / 0.5817 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.4248, allocations: 0.9554 MB / 0.5826 GB, free: 24.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4249, allocations: 5 kB / 0.5826 GB, free: 24.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.4249, allocations: 0 / 0.5826 GB, free: 24.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.099e-05/0.4249, allocations: 0.75 kB / 0.5826 GB, free: 24.39 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.002536/0.4275, allocations: 0.9281 MB / 0.5835 GB, free: 23.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4275, allocations: 11.03 kB / 0.5835 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.4285, allocations: 153.3 kB / 0.5837 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.4305, allocations: 1.148 MB / 0.5848 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.4306, allocations: 14.38 kB / 0.5848 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.4306, allocations: 12.5 kB / 0.5848 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005605/0.4312, allocations: 171.8 kB / 0.585 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.4312, allocations: 4 kB / 0.585 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.4313, allocations: 5.188 kB / 0.585 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.4313, allocations: 2.438 kB / 0.585 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006661/0.432, allocations: 171.9 kB / 0.5851 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.4338, allocations: 0.7271 MB / 0.5859 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009648/0.4348, allocations: 187.7 kB / 0.586 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.4351, allocations: 88.45 kB / 0.5861 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.4352, allocations: 2.5 kB / 0.5861 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.4352, allocations: 31.59 kB / 0.5862 GB, free: 21.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 2.435e-06/0.4352, allocations: 4 kB / 0.5862 GB, free: 21.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.001148/0.4364, allocations: 313.8 kB / 0.5865 GB, free: 21.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.4364, allocations: 53.34 kB / 0.5865 GB, free: 21.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.4376, allocations: 0.7768 MB / 0.5873 GB, free: 21.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.536e-05/0.4376, allocations: 29.64 kB / 0.5873 GB, free: 21.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.4378, allocations: 261 kB / 0.5875 GB, free: 20.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.169e-05/0.4379, allocations: 38.08 kB / 0.5876 GB, free: 20.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.4382, allocations: 151.7 kB / 0.5877 GB, free: 20.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4383, allocations: 380 kB / 0.5881 GB, free: 20.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006149/0.4389, allocations: 291.3 kB / 0.5884 GB, free: 20.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/0.4396, allocations: 418.9 kB / 0.5888 GB, free: 20.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/0.4406, allocations: 0.6185 MB / 0.5894 GB, free: 19.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.4406, allocations: 8 kB / 0.5894 GB, free: 19.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001342/0.442, allocations: 0.7853 MB / 0.5901 GB, free: 18.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.442, allocations: 8 kB / 0.5902 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.442, allocations: 4 kB / 0.5902 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.4421, allocations: 8 kB / 0.5902 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007694/0.4428, allocations: 131.9 kB / 0.5903 GB, free: 18.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004729/0.4433, allocations: 0.6328 MB / 0.5909 GB, free: 17.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.4439, allocations: 71.5 kB / 0.591 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.456e-05/0.444, allocations: 23.98 kB / 0.591 GB, free: 17.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006226/0.4446, allocations: 482.1 kB / 0.5915 GB, free: 17.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004825/0.4451, allocations: 408.3 kB / 0.5918 GB, free: 16.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008089/0.4459, allocations: 0.6088 MB / 0.5924 GB, free: 16.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/0.4459, allocations: 3.938 kB / 0.5924 GB, free: 16.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001143/0.4471, allocations: 0.7808 MB / 0.5932 GB, free: 15.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.4471, allocations: 4 kB / 0.5932 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4471, allocations: 4 kB / 0.5932 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/0.4471, allocations: 4 kB / 0.5932 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.4476, allocations: 131.8 kB / 0.5933 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.4477, allocations: 7.984 kB / 0.5934 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.4482, allocations: 71.7 kB / 0.5934 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.4482, allocations: 24 kB / 0.5934 GB, free: 15.22 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.0001303/0.4483, allocations: 200.1 kB / 0.5936 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.4484, allocations: 55.25 kB / 0.5937 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006797/0.4491, allocations: 251.1 kB / 0.5939 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4491, allocations: 4.094 kB / 0.5939 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4492, allocations: 7.875 kB / 0.5939 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4492, allocations: 0 / 0.5939 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.4496, allocations: 385.3 kB / 0.5943 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4496, allocations: 4 kB / 0.5943 GB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/0.4499, allocations: 47.95 kB / 0.5944 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.4499, allocations: 4 kB / 0.5944 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.4499, allocations: 0 / 0.5944 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002067/0.4501, allocations: 0.6093 MB / 0.595 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4501, allocations: 0 / 0.595 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.4508, allocations: 342.7 kB / 0.5953 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.451, allocations: 160.3 kB / 0.5954 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/0.4511, allocations: 4 kB / 0.5954 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.4514, allocations: 23.97 kB / 0.5955 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.881e-05/0.4514, allocations: 11.98 kB / 0.5955 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.4514, allocations: 4 kB / 0.5955 GB, free: 13.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005131/0.452, allocations: 0.5185 MB / 0.596 GB, free: 12.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.452, allocations: 0 / 0.596 GB, free: 12.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009409/0.4529, allocations: 307.8 kB / 0.5963 GB, free: 12.2 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.0008243/0.4537, allocations: 327 kB / 0.5966 GB, free: 11.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.4558, allocations: 0.8928 MB / 0.5975 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.4558, allocations: 0 / 0.5975 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.4562, allocations: 104.8 kB / 0.5976 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008618/0.457, allocations: 212.1 kB / 0.5978 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00259/0.4596, allocations: 1.209 MB / 0.5989 GB, free: 9.441 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.46, allocations: 0.8995 MB / 0.5998 GB, free: 8.516 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005679/0.4606, allocations: 176.3 kB / 0.6 GB, free: 8.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.4607, allocations: 55.41 kB / 0.6 GB, free: 8.289 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4607, allocations: 0 / 0.6 GB, free: 8.289 MB / 446.1 MB Notification: Performance of Templates: time 0.01825/0.479, allocations: 11.39 MB / 0.6112 GB, free: 13.03 MB / 462.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)