Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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_latest_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_latest_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.001553/0.001553, allocations: 107.4 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.001977/0.001977, allocations: 191.6 kB / 16.14 MB, free: 6.715 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.524/1.524, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 60.86 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.304, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003917/0.3079, allocations: 2.426 MB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006279/0.3142, allocations: 3.924 MB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.3145, allocations: 7.938 kB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006124/0.3207, allocations: 3.167 MB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008928/0.3216, allocations: 370.7 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.3227, allocations: 459.3 kB / 1.062 GB, free: 14.48 MB / 0.8262 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.005137/0.3279, allocations: 3.587 MB / 1.066 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.328, allocations: 36.75 kB / 1.066 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002805/0.3283, allocations: 195.2 kB / 1.066 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002968/0.3286, allocations: 227.1 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.3287, allocations: 8 kB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.3297, allocations: 0.6005 MB / 1.067 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.3299, allocations: 203.4 kB / 1.067 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.3302, allocations: 246.4 kB / 1.067 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009998/0.3312, allocations: 0.954 MB / 1.068 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3312, allocations: 0 / 1.068 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3312, allocations: 0 / 1.068 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3312, allocations: 4 kB / 1.068 GB, free: 8.43 MB / 0.8262 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.001473/0.3327, allocations: 0.9175 MB / 1.069 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3327, allocations: 12.03 kB / 1.069 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008703/0.3336, allocations: 156.1 kB / 1.069 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.3351, allocations: 1.144 MB / 1.07 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.313e-05/0.3351, allocations: 12 kB / 1.07 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.3352, allocations: 12 kB / 1.07 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.3357, allocations: 174.7 kB / 1.07 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3357, allocations: 4 kB / 1.07 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3357, allocations: 4 kB / 1.07 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.3357, allocations: 7.938 kB / 1.07 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006578/0.3364, allocations: 183.8 kB / 1.071 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.3377, allocations: 0.7185 MB / 1.071 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008875/0.3386, allocations: 186.6 kB / 1.072 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002864/0.3389, allocations: 80.8 kB / 1.072 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.3389, allocations: 4 kB / 1.072 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.339, allocations: 34.56 kB / 1.072 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.339, allocations: 3.938 kB / 1.072 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001012/0.34, allocations: 312.7 kB / 1.072 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.34, allocations: 55.41 kB / 1.072 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000857/0.3409, allocations: 0.7773 MB / 1.073 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.3409, allocations: 29.7 kB / 1.073 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3411, allocations: 256.4 kB / 1.073 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.3412, allocations: 31.64 kB / 1.073 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.3414, allocations: 162 kB / 1.073 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3415, allocations: 370.7 kB / 1.074 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/0.342, allocations: 303.3 kB / 1.074 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/0.3426, allocations: 412.3 kB / 1.074 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009829/0.3436, allocations: 0.613 MB / 1.075 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.3437, allocations: 4 kB / 1.075 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001448/0.3451, allocations: 0.793 MB / 1.076 GB, free: 420 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.3451, allocations: 8 kB / 1.076 GB, free: 412 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.3452, allocations: 4 kB / 1.076 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3452, allocations: 4 kB / 1.076 GB, free: 404 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/0.346, allocations: 139.8 kB / 1.076 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005766/0.3466, allocations: 0.6289 MB / 1.076 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.347, allocations: 75.44 kB / 1.076 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.3471, allocations: 24 kB / 1.076 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007274/0.3478, allocations: 473.5 kB / 1.077 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006232/0.3485, allocations: 408.3 kB / 1.077 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001001/0.3495, allocations: 0.6092 MB / 1.078 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.3495, allocations: 0 / 1.078 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001309/0.3508, allocations: 0.7878 MB / 1.079 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3508, allocations: 4 kB / 1.079 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3509, allocations: 4.094 kB / 1.079 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.3509, allocations: 7.938 kB / 1.079 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005511/0.3514, allocations: 123.9 kB / 1.079 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3514, allocations: 11.92 kB / 1.079 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/0.3519, allocations: 72.09 kB / 1.079 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.3519, allocations: 27.98 kB / 1.079 GB, free: 12.91 MB / 0.8419 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.0001842/0.3521, allocations: 192.2 kB / 1.079 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.491e-05/0.3522, allocations: 59.19 kB / 1.079 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007427/0.353, allocations: 250.9 kB / 1.079 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.353, allocations: 4 kB / 1.079 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.353, allocations: 3.938 kB / 1.079 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.353, allocations: 0 / 1.079 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.3535, allocations: 377.4 kB / 1.08 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3535, allocations: 4 kB / 1.08 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.3538, allocations: 59.89 kB / 1.08 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3538, allocations: 7.984 kB / 1.08 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3538, allocations: 0 / 1.08 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003412/0.3542, allocations: 0.6016 MB / 1.08 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3542, allocations: 0 / 1.08 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.3549, allocations: 342.7 kB / 1.081 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.355, allocations: 160.2 kB / 1.081 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.3551, allocations: 4 kB / 1.081 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002796/0.3554, allocations: 27.97 kB / 1.081 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.3555, allocations: 7.984 kB / 1.081 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.3555, allocations: 4 kB / 1.081 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005932/0.3561, allocations: 0.5226 MB / 1.081 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3561, allocations: 0 / 1.081 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009721/0.3571, allocations: 303.8 kB / 1.082 GB, free: 9.887 MB / 0.8419 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.0006714/0.3578, allocations: 330.9 kB / 1.082 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.3599, allocations: 0.8917 MB / 1.083 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3599, allocations: 0 / 1.083 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.3603, allocations: 100.3 kB / 1.083 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000845/0.3611, allocations: 195.2 kB / 1.083 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.3638, allocations: 1.212 MB / 1.084 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.3643, allocations: 0.9013 MB / 1.085 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006476/0.365, allocations: 172.4 kB / 1.085 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.3652, allocations: 59.3 kB / 1.085 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.3652, allocations: 0 / 1.085 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of Templates: time 0.018/0.3832, allocations: 11.12 MB / 1.096 GB, free: 10.98 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)