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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00175/0.00175, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001801/0.001801, allocations: 189.4 kB / 16.25 MB, free: 6.637 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.437/1.437, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.75/2.75, allocations: 472.7 MB / 0.7449 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 71.38 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3184, allocations: 159.9 MB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003699/0.3222, allocations: 2.42 MB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005833/0.328, allocations: 3.796 MB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00026/0.3283, allocations: 7.938 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00633/0.3347, allocations: 3.26 MB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009896/0.3357, allocations: 378.6 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3369, allocations: 483.2 kB / 1.078 GB, free: 340 kB / 0.8262 GB [/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.004615/0.3415, allocations: 3.499 MB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3417, allocations: 32.75 kB / 1.081 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.3419, allocations: 215.3 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.3422, allocations: 235.1 kB / 1.082 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.3423, allocations: 23.94 kB / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008926/0.3432, allocations: 0.5693 MB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001894/0.3434, allocations: 215.3 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002062/0.3436, allocations: 250.5 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.3446, allocations: 0.9618 MB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3447, allocations: 4 kB / 1.084 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3447, allocations: 0 / 1.084 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.3447, allocations: 0 / 1.084 GB, free: 10.33 MB / 0.8419 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.001424/0.3461, allocations: 0.9252 MB / 1.085 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3462, allocations: 8.031 kB / 1.085 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008206/0.347, allocations: 156 kB / 1.085 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.3485, allocations: 1.14 MB / 1.086 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.3485, allocations: 15.98 kB / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.3486, allocations: 12 kB / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.349, allocations: 171.4 kB / 1.086 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3491, allocations: 0 / 1.086 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3491, allocations: 7.938 kB / 1.086 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.3491, allocations: 4 kB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006563/0.3498, allocations: 183.8 kB / 1.086 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.351, allocations: 0.73 MB / 1.087 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008695/0.3519, allocations: 186.6 kB / 1.087 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.3522, allocations: 84.8 kB / 1.087 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.3522, allocations: 3.984 kB / 1.087 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.3522, allocations: 34.56 kB / 1.087 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3522, allocations: 0 / 1.087 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001003/0.3533, allocations: 312.7 kB / 1.088 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.3533, allocations: 55.41 kB / 1.088 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008306/0.3541, allocations: 0.7773 MB / 1.088 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.3542, allocations: 25.7 kB / 1.088 GB, free: 5.324 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.3544, allocations: 256.4 kB / 1.089 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.3544, allocations: 31.55 kB / 1.089 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.3546, allocations: 158.1 kB / 1.089 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3548, allocations: 382.7 kB / 1.089 GB, free: 4.496 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.3553, allocations: 299.3 kB / 1.089 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.356, allocations: 412.4 kB / 1.09 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009835/0.357, allocations: 0.6169 MB / 1.09 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.357, allocations: 0 / 1.09 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001353/0.3583, allocations: 0.8008 MB / 1.091 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3584, allocations: 4 kB / 1.091 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.3584, allocations: 4 kB / 1.091 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3584, allocations: 8.469 kB / 1.091 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007811/0.3592, allocations: 131.8 kB / 1.091 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005852/0.3598, allocations: 0.6367 MB / 1.092 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.3602, allocations: 75.61 kB / 1.092 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.3603, allocations: 24 kB / 1.092 GB, free: 1.391 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007136/0.361, allocations: 483.2 kB / 1.093 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005836/0.3616, allocations: 408.3 kB / 1.093 GB, free: 488 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009495/0.3626, allocations: 0.6011 MB / 1.094 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.3626, allocations: 4 kB / 1.094 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001288/0.3639, allocations: 0.7913 MB / 1.094 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3639, allocations: 8 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3639, allocations: 4 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.3639, allocations: 8.344 kB / 1.094 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.3645, allocations: 123.9 kB / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.3645, allocations: 7.938 kB / 1.094 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.3649, allocations: 67.58 kB / 1.094 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.365, allocations: 24 kB / 1.095 GB, free: 14.79 MB / 0.8575 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.0001681/0.3651, allocations: 202.6 kB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.354e-05/0.3652, allocations: 51.25 kB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007476/0.366, allocations: 239 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.366, allocations: 3.984 kB / 1.095 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.366, allocations: 3.938 kB / 1.095 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.366, allocations: 4 kB / 1.095 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004262/0.3664, allocations: 393.1 kB / 1.095 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3665, allocations: 3.938 kB / 1.095 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.3668, allocations: 47.95 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3668, allocations: 4 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.3668, allocations: 4 kB / 1.095 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003075/0.3671, allocations: 0.6171 MB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3671, allocations: 0 / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006732/0.3678, allocations: 338.9 kB / 1.096 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000169/0.368, allocations: 160.3 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/0.3681, allocations: 4 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.3684, allocations: 23.97 kB / 1.097 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.3684, allocations: 11.98 kB / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.3684, allocations: 4 kB / 1.097 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0005932/0.369, allocations: 0.5185 MB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.369, allocations: 3.938 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009253/0.37, allocations: 295.9 kB / 1.097 GB, free: 11.78 MB / 0.8575 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.0006805/0.3707, allocations: 342.9 kB / 1.098 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.3728, allocations: 0.8765 MB / 1.099 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3728, allocations: 4.125 kB / 1.099 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.3732, allocations: 107.8 kB / 1.099 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008824/0.3741, allocations: 206.8 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002729/0.3769, allocations: 1.212 MB / 1.1 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.3774, allocations: 0.909 MB / 1.101 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006024/0.378, allocations: 176.4 kB / 1.101 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.3782, allocations: 51.42 kB / 1.101 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.3782, allocations: 0 / 1.101 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of Templates: time 0.02093/0.3991, allocations: 11.4 MB / 1.112 GB, free: 12.57 MB / 0.8731 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)