Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001187/0.001191, 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.001318/0.001318, allocations: 192.9 kB / 16.14 MB, free: 6.688 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.394/1.394, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7447 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63 kB / 0.9113 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2948, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003772/0.2986, allocations: 2.427 MB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006218/0.3048, allocations: 3.92 MB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.3051, allocations: 7.938 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006078/0.3113, allocations: 3.171 MB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0008068/0.3121, allocations: 358.8 kB / 1.077 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.3132, allocations: 463.2 kB / 1.078 GB, free: 0.5742 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.005208/0.3184, allocations: 3.584 MB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.3186, allocations: 40.73 kB / 1.081 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.3189, allocations: 187.2 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003026/0.3192, allocations: 231 kB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.3193, allocations: 8 kB / 1.082 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.3203, allocations: 0.6083 MB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.3205, allocations: 207.4 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.3208, allocations: 242.5 kB / 1.083 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.3219, allocations: 0.9462 MB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3219, allocations: 0 / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3219, allocations: 0 / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3219, allocations: 0 / 1.083 GB, free: 10.52 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.00169/0.3236, allocations: 0.9368 MB / 1.084 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3237, allocations: 11.97 kB / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008796/0.3245, allocations: 148.1 kB / 1.085 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.3262, allocations: 1.144 MB / 1.086 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/0.3263, allocations: 8 kB / 1.086 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.3263, allocations: 12 kB / 1.086 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005193/0.3268, allocations: 179.2 kB / 1.086 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3269, allocations: 4 kB / 1.086 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3269, allocations: 4 kB / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3269, allocations: 0 / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007208/0.3276, allocations: 175.8 kB / 1.086 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.329, allocations: 0.726 MB / 1.087 GB, free: 7.039 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009045/0.3299, allocations: 198.5 kB / 1.087 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.3302, allocations: 84.8 kB / 1.087 GB, free: 6.75 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.3303, allocations: 3.938 kB / 1.087 GB, free: 6.746 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.3303, allocations: 38.5 kB / 1.087 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.3303, allocations: 0 / 1.087 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001026/0.3313, allocations: 316.7 kB / 1.087 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.3314, allocations: 51.41 kB / 1.087 GB, free: 6.32 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009076/0.3323, allocations: 0.7812 MB / 1.088 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.3323, allocations: 25.7 kB / 1.088 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002156/0.3325, allocations: 256.4 kB / 1.088 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.3326, allocations: 35.55 kB / 1.088 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.3328, allocations: 150.1 kB / 1.089 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.333, allocations: 378.7 kB / 1.089 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.3335, allocations: 295.4 kB / 1.089 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006278/0.3342, allocations: 412.3 kB / 1.09 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.3352, allocations: 0.6169 MB / 1.09 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.3353, allocations: 4 kB / 1.09 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00146/0.3367, allocations: 0.8007 MB / 1.091 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3368, allocations: 8 kB / 1.091 GB, free: 2.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.3368, allocations: 7.938 kB / 1.091 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3368, allocations: 4 kB / 1.091 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008237/0.3376, allocations: 123.9 kB / 1.091 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005888/0.3382, allocations: 0.6367 MB / 1.092 GB, free: 1.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.3387, allocations: 79.33 kB / 1.092 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/0.3387, allocations: 20 kB / 1.092 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007384/0.3395, allocations: 481.5 kB / 1.092 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006275/0.3401, allocations: 408.3 kB / 1.093 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001/0.3411, allocations: 0.6088 MB / 1.093 GB, free: 20 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.3412, allocations: 0 / 1.093 GB, free: 20 kB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001396/0.3426, allocations: 0.7761 MB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3426, allocations: 5.812 kB / 1.094 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3426, allocations: 4 kB / 1.094 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.3426, allocations: 4 kB / 1.094 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/0.3432, allocations: 140 kB / 1.094 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3432, allocations: 8 kB / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.3436, allocations: 63.58 kB / 1.094 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.3437, allocations: 27.77 kB / 1.094 GB, free: 14.99 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.0001565/0.3439, allocations: 204.8 kB / 1.095 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.676e-05/0.344, allocations: 55.25 kB / 1.095 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007777/0.3447, allocations: 238.9 kB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.3448, allocations: 4 kB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3448, allocations: 3.938 kB / 1.095 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.3448, allocations: 3.984 kB / 1.095 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.3453, allocations: 393.3 kB / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3453, allocations: 0 / 1.095 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.3456, allocations: 47.95 kB / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3456, allocations: 0 / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3456, allocations: 4 kB / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003367/0.346, allocations: 0.6131 MB / 1.096 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.346, allocations: 0 / 1.096 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007571/0.3468, allocations: 338.7 kB / 1.096 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.347, allocations: 164.2 kB / 1.096 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.397e-05/0.3471, allocations: 0 / 1.096 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003009/0.3474, allocations: 31.97 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.3475, allocations: 7.984 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3475, allocations: 4 kB / 1.096 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006843/0.3482, allocations: 0.5185 MB / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3482, allocations: 0 / 1.097 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001148/0.3493, allocations: 299.9 kB / 1.097 GB, free: 11.97 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.0008973/0.3502, allocations: 339 kB / 1.097 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.3526, allocations: 0.8803 MB / 1.098 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3526, allocations: 256 / 1.098 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/0.353, allocations: 103.9 kB / 1.098 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.354, allocations: 193.2 kB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/0.357, allocations: 1.224 MB / 1.1 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.3576, allocations: 0.9013 MB / 1.101 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006236/0.3582, allocations: 168.4 kB / 1.101 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.3584, allocations: 51.41 kB / 1.101 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of SimCode: time 8.51e-07/0.3584, allocations: 0 / 1.101 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of Templates: time 0.01885/0.3773, allocations: 11.13 MB / 1.112 GB, free: 13.04 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)