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.001183/0.001183, allocations: 107.1 kB / 16.52 MB, free: 6.656 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.001229/0.001229, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 13.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7024/0.7024, allocations: 115.3 MB / 406.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4014, allocations: 76.18 MB / 0.5564 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003583/0.4051, allocations: 2.408 MB / 0.5587 GB, free: 33.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005588/0.4107, allocations: 3.905 MB / 0.5625 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.411, allocations: 6.875 kB / 0.5626 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007097/0.4181, allocations: 3.168 MB / 0.5656 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001162/0.4194, allocations: 365 kB / 0.566 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.4206, allocations: 465.9 kB / 0.5664 GB, free: 30.04 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.006084/0.4267, allocations: 3.591 MB / 0.5699 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.4269, allocations: 41.36 kB / 0.57 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003488/0.4273, allocations: 189.3 kB / 0.5702 GB, free: 29.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.4276, allocations: 231.6 kB / 0.5704 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/0.4277, allocations: 10.66 kB / 0.5704 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.429, allocations: 0.5995 MB / 0.571 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002481/0.4293, allocations: 209 kB / 0.5712 GB, free: 28.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000225/0.4295, allocations: 241.4 kB / 0.5714 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.4305, allocations: 0.7045 MB / 0.5721 GB, free: 28.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4305, allocations: 3.031 kB / 0.5721 GB, free: 28.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4305, allocations: 1.375 kB / 0.5721 GB, free: 28.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.619e-05/0.4306, allocations: 0 / 0.5721 GB, free: 28.36 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.001703/0.4323, allocations: 0.9183 MB / 0.573 GB, free: 27.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.4323, allocations: 11.12 kB / 0.573 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009391/0.4333, allocations: 153.5 kB / 0.5732 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.435, allocations: 1.148 MB / 0.5743 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.496e-05/0.4351, allocations: 6.891 kB / 0.5743 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.529e-05/0.4352, allocations: 16.69 kB / 0.5743 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005302/0.4357, allocations: 175.2 kB / 0.5745 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.4357, allocations: 0 / 0.5745 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.4357, allocations: 3.281 kB / 0.5745 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.4358, allocations: 3.016 kB / 0.5745 GB, free: 26.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006683/0.4364, allocations: 180.9 kB / 0.5746 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.4378, allocations: 0.7301 MB / 0.5754 GB, free: 26.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/0.4388, allocations: 191.5 kB / 0.5755 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.439, allocations: 80.5 kB / 0.5756 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.4391, allocations: 4 kB / 0.5756 GB, free: 26.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.4391, allocations: 34.95 kB / 0.5757 GB, free: 26.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.4391, allocations: 0 / 0.5757 GB, free: 26.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.001015/0.4401, allocations: 310.8 kB / 0.5759 GB, free: 26.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.4402, allocations: 53.89 kB / 0.576 GB, free: 26.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.4411, allocations: 0.7767 MB / 0.5768 GB, free: 25.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.4411, allocations: 29.7 kB / 0.5768 GB, free: 25.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.4413, allocations: 252.7 kB / 0.577 GB, free: 25.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.4414, allocations: 34.16 kB / 0.5771 GB, free: 25.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002098/0.4416, allocations: 157.6 kB / 0.5772 GB, free: 25.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4417, allocations: 378.2 kB / 0.5776 GB, free: 25.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.4423, allocations: 297.5 kB / 0.5779 GB, free: 25.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/0.4429, allocations: 418.2 kB / 0.5783 GB, free: 24.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.444, allocations: 0.622 MB / 0.5789 GB, free: 24.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.444, allocations: 1.094 kB / 0.5789 GB, free: 24.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001506/0.4455, allocations: 0.7978 MB / 0.5796 GB, free: 24.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.4455, allocations: 6.312 kB / 0.5796 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4456, allocations: 2.531 kB / 0.5797 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.4456, allocations: 5.25 kB / 0.5797 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/0.4464, allocations: 130.6 kB / 0.5798 GB, free: 24.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000475/0.4469, allocations: 0.634 MB / 0.5804 GB, free: 23.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.4474, allocations: 75.84 kB / 0.5805 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.188e-05/0.4475, allocations: 24.31 kB / 0.5805 GB, free: 23.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007722/0.4482, allocations: 479.6 kB / 0.581 GB, free: 23.4 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006069/0.4489, allocations: 401.5 kB / 0.5813 GB, free: 23.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009926/0.4499, allocations: 0.6116 MB / 0.5819 GB, free: 22.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.389e-06/0.4499, allocations: 5.062 kB / 0.5819 GB, free: 22.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001463/0.4513, allocations: 0.7754 MB / 0.5827 GB, free: 22.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4514, allocations: 11.03 kB / 0.5827 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4514, allocations: 2.781 kB / 0.5827 GB, free: 22.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.4514, allocations: 10.92 kB / 0.5827 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/0.452, allocations: 124.4 kB / 0.5828 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.452, allocations: 5.297 kB / 0.5828 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.4525, allocations: 78.22 kB / 0.5829 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.4525, allocations: 22.61 kB / 0.5829 GB, free: 22.54 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.0001688/0.4527, allocations: 202.7 kB / 0.5831 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.4528, allocations: 53.38 kB / 0.5832 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007538/0.4535, allocations: 240.7 kB / 0.5834 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.4536, allocations: 1.594 kB / 0.5834 GB, free: 22.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.4536, allocations: 10.19 kB / 0.5834 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4536, allocations: 0 / 0.5834 GB, free: 22.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.454, allocations: 383.9 kB / 0.5838 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4541, allocations: 0 / 0.5838 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.4544, allocations: 57.14 kB / 0.5838 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4544, allocations: 1.5 kB / 0.5838 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4544, allocations: 0 / 0.5838 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002163/0.4546, allocations: 0.6131 MB / 0.5844 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4546, allocations: 0 / 0.5844 GB, free: 21.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006345/0.4553, allocations: 340 kB / 0.5848 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.4554, allocations: 159.2 kB / 0.5849 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.187e-05/0.4555, allocations: 1.094 kB / 0.5849 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.4558, allocations: 30.59 kB / 0.585 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.4559, allocations: 11.86 kB / 0.585 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.4559, allocations: 4.25 kB / 0.585 GB, free: 20.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006115/0.4565, allocations: 0.5173 MB / 0.5855 GB, free: 20.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4565, allocations: 0 / 0.5855 GB, free: 20.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001198/0.4577, allocations: 302 kB / 0.5858 GB, free: 20.53 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.0007239/0.4585, allocations: 331.7 kB / 0.5861 GB, free: 20.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.4607, allocations: 0.881 MB / 0.5869 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4607, allocations: 4.125 kB / 0.5869 GB, free: 19.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000364/0.4611, allocations: 97.83 kB / 0.587 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008767/0.462, allocations: 194.1 kB / 0.5872 GB, free: 19.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.4648, allocations: 1.273 MB / 0.5885 GB, free: 19.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.4651, allocations: 0.9027 MB / 0.5893 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.4653, allocations: 48.86 kB / 0.5894 GB, free: 18.21 MB / 446.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4653, allocations: 0 / 0.5894 GB, free: 18.21 MB / 446.1 MB Notification: Performance of Templates: time 0.0132/0.4785, allocations: 11.49 MB / 0.6006 GB, free: 6.91 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)