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.0007846/0.0007845, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005888/0.005888, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.392/1.392, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.754/2.754, allocations: 462.7 MB / 0.7364 GB, free: 132 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.000357, allocations: 11.91 kB / 0.9028 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 159.6 MB / 1.059 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.002573/0.3319, allocations: 2.072 MB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005596/0.3375, allocations: 3.851 MB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.3377, allocations: 7.938 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005648/0.3434, allocations: 3.174 MB / 1.068 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009597/0.3444, allocations: 366.7 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.3455, allocations: 451.3 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB [/var/lib/jenkins/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.004784/0.3503, allocations: 3.596 MB / 1.072 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.3505, allocations: 40.73 kB / 1.072 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002748/0.3508, allocations: 183.2 kB / 1.072 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.3511, allocations: 223.1 kB / 1.072 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.041e-05/0.3511, allocations: 8 kB / 1.072 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000987/0.3521, allocations: 0.6082 MB / 1.073 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3523, allocations: 195.4 kB / 1.073 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.3525, allocations: 272.1 kB / 1.073 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009885/0.3535, allocations: 0.9421 MB / 1.074 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3536, allocations: 0 / 1.074 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3536, allocations: 4 kB / 1.074 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.3536, allocations: 0 / 1.074 GB, free: 5.371 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.001293/0.3549, allocations: 0.8478 MB / 1.075 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3549, allocations: 12.02 kB / 1.075 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008064/0.3557, allocations: 152 kB / 1.075 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/0.3572, allocations: 1.144 MB / 1.076 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.3573, allocations: 12 kB / 1.076 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.3573, allocations: 12 kB / 1.076 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004964/0.3578, allocations: 187.1 kB / 1.077 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3578, allocations: 0 / 1.077 GB, free: 2.918 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.3578, allocations: 8 kB / 1.077 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3579, allocations: 0 / 1.077 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000681/0.3585, allocations: 199.8 kB / 1.077 GB, free: 2.715 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.3598, allocations: 0.7302 MB / 1.077 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008527/0.3606, allocations: 198.6 kB / 1.078 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/0.3609, allocations: 96.72 kB / 1.078 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.361, allocations: 0 / 1.078 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.361, allocations: 42.56 kB / 1.078 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 9.02e-07/0.361, allocations: 0 / 1.078 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001058/0.3621, allocations: 340.7 kB / 1.078 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.3621, allocations: 55.41 kB / 1.078 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008514/0.363, allocations: 0.7812 MB / 1.079 GB, free: 396 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.363, allocations: 29.7 kB / 1.079 GB, free: 360 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.3632, allocations: 252.4 kB / 1.079 GB, free: 104 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.3633, allocations: 35.55 kB / 1.079 GB, free: 68 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.3634, allocations: 93.73 kB / 1.079 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3635, allocations: 370.7 kB / 1.08 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.3641, allocations: 309.3 kB / 1.08 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.3647, allocations: 432.3 kB / 1.08 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.3658, allocations: 0.6364 MB / 1.081 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.3658, allocations: 0 / 1.081 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001394/0.3672, allocations: 0.8126 MB / 1.082 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.3673, allocations: 181 kB / 1.082 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3674, allocations: 4 kB / 1.082 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3674, allocations: 4 kB / 1.082 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/0.3681, allocations: 131.9 kB / 1.082 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005237/0.3687, allocations: 0.6328 MB / 1.083 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/0.3691, allocations: 79.34 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.3691, allocations: 23.98 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/0.3691, allocations: 5.875 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/0.3704, allocations: 0.7404 MB / 1.084 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3704, allocations: 4 kB / 1.084 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/0.3704, allocations: 4 kB / 1.084 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005251/0.371, allocations: 131.8 kB / 1.084 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.371, allocations: 7.984 kB / 1.084 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.3713, allocations: 72.33 kB / 1.084 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.3714, allocations: 23.98 kB / 1.084 GB, free: 11.24 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.0002887/0.3717, allocations: 316.9 kB / 1.084 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.939e-05/0.3718, allocations: 55.25 kB / 1.084 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007749/0.3725, allocations: 270.9 kB / 1.084 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.3726, allocations: 4 kB / 1.084 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3726, allocations: 0 / 1.084 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3726, allocations: 3.938 kB / 1.084 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.373, allocations: 389.2 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3731, allocations: 0 / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.3734, allocations: 51.95 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3734, allocations: 8 kB / 1.085 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3734, allocations: 4 kB / 1.085 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002984/0.3737, allocations: 0.6016 MB / 1.085 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3737, allocations: 0 / 1.085 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007155/0.3744, allocations: 362.7 kB / 1.086 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.3746, allocations: 156.3 kB / 1.086 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.632e-05/0.3747, allocations: 11.94 kB / 1.086 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.375, allocations: 31.97 kB / 1.086 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.375, allocations: 15.92 kB / 1.086 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.375, allocations: 0 / 1.086 GB, free: 8.867 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005845/0.3756, allocations: 0.5224 MB / 1.086 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3756, allocations: 0 / 1.086 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008728/0.3765, allocations: 299.8 kB / 1.087 GB, free: 8.055 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.0006753/0.3772, allocations: 335.2 kB / 1.087 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002151/0.3793, allocations: 0.9128 MB / 1.088 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3794, allocations: 0 / 1.088 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.3798, allocations: 115.9 kB / 1.088 GB, free: 6.691 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008495/0.3806, allocations: 185.1 kB / 1.088 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.3833, allocations: 1.238 MB / 1.089 GB, free: 5.254 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.3838, allocations: 0.8974 MB / 1.09 GB, free: 4.328 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005712/0.3843, allocations: 176.4 kB / 1.091 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.3845, allocations: 51.41 kB / 1.091 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3845, allocations: 0 / 1.091 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of Templates: time 0.0185/0.403, allocations: 11.07 MB / 1.101 GB, free: 9.145 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)