Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.PEle|eff.dp_in|eff.V_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.PEle|eff.dp_in|eff.V_flow",fileNamePrefix="Buildings_10_Buildings.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.001376/0.001376, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001393/0.001394, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.931/2.931, allocations: 437 MB / 0.71 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 71.88 kB / 0.8686 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6406, allocations: 151.6 MB / 1.017 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004307/0.645, allocations: 2.432 MB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006778/0.6518, allocations: 3.908 MB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002979/0.6521, allocations: 7.938 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00691/0.659, allocations: 3.177 MB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.6601, allocations: 362.7 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.6615, allocations: 463.2 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB [/var/lib/jenkins/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.006319/0.6678, allocations: 3.58 MB / 1.03 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.668, allocations: 44.73 kB / 1.03 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003694/0.6684, allocations: 187.2 kB / 1.03 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.6688, allocations: 235 kB / 1.031 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.6688, allocations: 8 kB / 1.031 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.67, allocations: 0.6005 MB / 1.031 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.6703, allocations: 199.4 kB / 1.031 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002724/0.6706, allocations: 242.5 kB / 1.032 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.6719, allocations: 0.954 MB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6719, allocations: 0 / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.72e-07/0.6719, allocations: 0 / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.6719, allocations: 4 kB / 1.033 GB, free: 2.336 MB / 0.7794 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.001775/0.6737, allocations: 0.9252 MB / 1.034 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.6737, allocations: 12.03 kB / 1.034 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.6747, allocations: 156.1 kB / 1.034 GB, free: 1.195 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.6767, allocations: 1.136 MB / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.6768, allocations: 12 kB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.48e-05/0.6768, allocations: 16.03 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.6774, allocations: 171.2 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.6775, allocations: 4 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.6775, allocations: 11.98 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.6775, allocations: 0 / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.6783, allocations: 171.8 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.6799, allocations: 0.73 MB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009346/0.6808, allocations: 190.6 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.6811, allocations: 80.73 kB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.6812, allocations: 4 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.6812, allocations: 42.47 kB / 1.036 GB, free: 14.52 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.6812, allocations: 0 / 1.036 GB, free: 14.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.001113/0.6823, allocations: 320.9 kB / 1.036 GB, free: 14.2 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.6824, allocations: 51.41 kB / 1.037 GB, free: 14.14 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.6836, allocations: 0.7773 MB / 1.037 GB, free: 13.36 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.6836, allocations: 25.7 kB / 1.037 GB, free: 13.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.6839, allocations: 252.5 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.684, allocations: 43.53 kB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.6843, allocations: 154 kB / 1.038 GB, free: 12.88 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.6845, allocations: 374.7 kB / 1.038 GB, free: 12.5 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.6851, allocations: 303.3 kB / 1.038 GB, free: 12.2 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/0.6859, allocations: 412.3 kB / 1.039 GB, free: 11.75 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.687, allocations: 0.6169 MB / 1.039 GB, free: 11.1 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.687, allocations: 8 kB / 1.039 GB, free: 11.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001537/0.6886, allocations: 0.7891 MB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.6886, allocations: 13.81 kB / 1.04 GB, free: 10.29 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.6886, allocations: 7.984 kB / 1.04 GB, free: 10.28 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.6887, allocations: 4 kB / 1.04 GB, free: 10.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008324/0.6895, allocations: 128 kB / 1.04 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006733/0.6902, allocations: 0.6328 MB / 1.041 GB, free: 9.492 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004877/0.6907, allocations: 75.5 kB / 1.041 GB, free: 9.418 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.6908, allocations: 20 kB / 1.041 GB, free: 9.398 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009375/0.6917, allocations: 473.5 kB / 1.041 GB, free: 8.934 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006609/0.6924, allocations: 412.3 kB / 1.042 GB, free: 8.488 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00107/0.6935, allocations: 0.608 MB / 1.042 GB, free: 7.836 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.6935, allocations: 0 / 1.042 GB, free: 7.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001588/0.6951, allocations: 0.78 MB / 1.043 GB, free: 7.051 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.6951, allocations: 4 kB / 1.043 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.6951, allocations: 4 kB / 1.043 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.6951, allocations: 4 kB / 1.043 GB, free: 7.039 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.6957, allocations: 127.8 kB / 1.043 GB, free: 6.914 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.6957, allocations: 11.98 kB / 1.043 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.6962, allocations: 72.09 kB / 1.043 GB, free: 6.832 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.6963, allocations: 27.98 kB / 1.043 GB, free: 6.805 MB / 0.795 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.0001841/0.6964, allocations: 200.6 kB / 1.044 GB, free: 6.602 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.661e-05/0.6965, allocations: 55.25 kB / 1.044 GB, free: 6.547 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008239/0.6974, allocations: 251.2 kB / 1.044 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.6974, allocations: 4 kB / 1.044 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6974, allocations: 3.938 kB / 1.044 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.6974, allocations: 0 / 1.044 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005144/0.6979, allocations: 381.4 kB / 1.044 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6979, allocations: 0 / 1.044 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.6983, allocations: 47.95 kB / 1.044 GB, free: 5.816 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6983, allocations: 4 kB / 1.044 GB, free: 5.812 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.6983, allocations: 8 kB / 1.044 GB, free: 5.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003963/0.6987, allocations: 0.6015 MB / 1.045 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6987, allocations: 0 / 1.045 GB, free: 5.18 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007564/0.6995, allocations: 342.7 kB / 1.045 GB, free: 4.828 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001934/0.6997, allocations: 156.3 kB / 1.045 GB, free: 4.656 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-05/0.6998, allocations: 11.98 kB / 1.045 GB, free: 4.645 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.7001, allocations: 19.98 kB / 1.045 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.7001, allocations: 11.98 kB / 1.045 GB, free: 4.613 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.7002, allocations: 4 kB / 1.045 GB, free: 4.609 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007437/0.7009, allocations: 0.5224 MB / 1.046 GB, free: 4.09 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7009, allocations: 0 / 1.046 GB, free: 4.09 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009742/0.7019, allocations: 295.8 kB / 1.046 GB, free: 3.801 MB / 0.795 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.0007704/0.7027, allocations: 350.9 kB / 1.047 GB, free: 3.449 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.7051, allocations: 0.8843 MB / 1.047 GB, free: 2.566 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7051, allocations: 192 / 1.047 GB, free: 2.566 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005228/0.7056, allocations: 104.2 kB / 1.048 GB, free: 2.465 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009219/0.7065, allocations: 194.4 kB / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.7097, allocations: 1.216 MB / 1.049 GB, free: 1.035 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.7105, allocations: 0.9052 MB / 1.05 GB, free: 104 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000667/0.7111, allocations: 172.4 kB / 1.05 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.7113, allocations: 51.41 kB / 1.05 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of SimCode: time 5.31e-07/0.7113, allocations: 0 / 1.05 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of Templates: time 0.02131/0.7326, allocations: 11.12 MB / 1.061 GB, free: 4.879 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)