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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(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.001047/0.001047, allocations: 91.84 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.001733/0.001733, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.785/2.785, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005762/0.0005764, allocations: 11.25 kB / 0.9034 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3714, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003054/0.3745, allocations: 2.064 MB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00687/0.3814, allocations: 3.864 MB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004165/0.3818, allocations: 4 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006458/0.3883, allocations: 3.173 MB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.3895, allocations: 358.8 kB / 1.069 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.3907, allocations: 471.2 kB / 1.069 GB, free: 11.02 MB / 0.8262 GB [/var/lib/jenkins1/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.00527/0.396, allocations: 3.576 MB / 1.072 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3962, allocations: 36.73 kB / 1.073 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.3966, allocations: 187.2 kB / 1.073 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.397, allocations: 223.1 kB / 1.073 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.934e-05/0.3971, allocations: 16 kB / 1.073 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.3984, allocations: 0.6004 MB / 1.074 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002618/0.3986, allocations: 203.4 kB / 1.074 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.399, allocations: 272.1 kB / 1.074 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009992/0.4, allocations: 0.6858 MB / 1.075 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4, allocations: 0 / 1.075 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4, allocations: 4 kB / 1.075 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.4, allocations: 0 / 1.075 GB, free: 5.223 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.001762/0.4018, allocations: 0.8477 MB / 1.075 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4018, allocations: 8.031 kB / 1.075 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009356/0.4028, allocations: 160 kB / 1.076 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.4045, allocations: 1.136 MB / 1.077 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.4046, allocations: 19.94 kB / 1.077 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.048e-05/0.4047, allocations: 12 kB / 1.077 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005373/0.4052, allocations: 190.8 kB / 1.077 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4052, allocations: 0 / 1.077 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.4053, allocations: 8 kB / 1.077 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4053, allocations: 0 / 1.077 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000699/0.406, allocations: 199.8 kB / 1.077 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.4075, allocations: 0.7263 MB / 1.078 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009056/0.4084, allocations: 206.6 kB / 1.078 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.4087, allocations: 92.78 kB / 1.078 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.4087, allocations: 0 / 1.078 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4088, allocations: 34.56 kB / 1.078 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.163e-06/0.4088, allocations: 0 / 1.078 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001137/0.4099, allocations: 348.7 kB / 1.079 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.41, allocations: 55.41 kB / 1.079 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.411, allocations: 0.7773 MB / 1.079 GB, free: 236 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.411, allocations: 29.7 kB / 1.079 GB, free: 200 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.4113, allocations: 252.4 kB / 1.08 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.4113, allocations: 35.55 kB / 1.08 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.4114, allocations: 93.66 kB / 1.08 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4116, allocations: 374.7 kB / 1.08 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.4122, allocations: 301.4 kB / 1.08 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/0.4129, allocations: 424.3 kB / 1.081 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.414, allocations: 0.6365 MB / 1.081 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.414, allocations: 0 / 1.081 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001475/0.4155, allocations: 0.8242 MB / 1.082 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.4156, allocations: 181 kB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.4156, allocations: 4 kB / 1.082 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.4157, allocations: 4 kB / 1.082 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007654/0.4164, allocations: 135.9 kB / 1.083 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005781/0.417, allocations: 0.6254 MB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005089/0.4175, allocations: 87.44 kB / 1.083 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.333e-05/0.4176, allocations: 23.98 kB / 1.083 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.4176, allocations: 5.094 kB / 1.083 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001325/0.419, allocations: 0.7364 MB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.419, allocations: 8 kB / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.419, allocations: 4 kB / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.4195, allocations: 135.9 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.4195, allocations: 7.938 kB / 1.084 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003911/0.4199, allocations: 67.64 kB / 1.084 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.42, allocations: 24 kB / 1.084 GB, free: 11.08 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.0003419/0.4203, allocations: 316.9 kB / 1.084 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.4204, allocations: 51.25 kB / 1.085 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007704/0.4212, allocations: 274.9 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4212, allocations: 0 / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4212, allocations: 0 / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.4212, allocations: 3.938 kB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.4217, allocations: 393.2 kB / 1.085 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4217, allocations: 0 / 1.085 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.422, allocations: 51.97 kB / 1.085 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.422, allocations: 7.984 kB / 1.085 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.422, allocations: 4 kB / 1.085 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003216/0.4224, allocations: 0.6016 MB / 1.086 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4224, allocations: 4.094 kB / 1.086 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007182/0.4231, allocations: 354.7 kB / 1.086 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.4233, allocations: 160.2 kB / 1.086 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.4234, allocations: 12.22 kB / 1.086 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.4236, allocations: 27.97 kB / 1.086 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.4237, allocations: 11.98 kB / 1.086 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4237, allocations: 3.938 kB / 1.086 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006465/0.4244, allocations: 0.5263 MB / 1.087 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4244, allocations: 0 / 1.087 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009346/0.4253, allocations: 303.8 kB / 1.087 GB, free: 7.883 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.0006793/0.426, allocations: 342.9 kB / 1.088 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.4282, allocations: 0.9035 MB / 1.088 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4282, allocations: 0 / 1.088 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004086/0.4287, allocations: 120.3 kB / 1.088 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.4296, allocations: 181.7 kB / 1.089 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.4324, allocations: 1.294 MB / 1.09 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.4329, allocations: 0.8974 MB / 1.091 GB, free: 4.09 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.4331, allocations: 47.42 kB / 1.091 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of SimCode: time 9.62e-07/0.4331, allocations: 4 kB / 1.091 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of Templates: time 0.01858/0.4517, allocations: 11.4 MB / 1.102 GB, free: 8.707 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)