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.001249/0.001249, allocations: 109.5 kB / 15.99 MB, free: 6.344 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.001142/0.001141, allocations: 199.5 kB / 16.91 MB, free: 6.184 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 469.4 MB / 0.7423 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 64.44 kB / 0.9083 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3527, allocations: 159.1 MB / 1.064 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.004632/0.3574, allocations: 2.434 MB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006967/0.3644, allocations: 3.776 MB / 1.07 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004908/0.3649, allocations: 7.938 kB / 1.07 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00712/0.3721, allocations: 3.274 MB / 1.073 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.3735, allocations: 374.7 kB / 1.073 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.375, allocations: 480 kB / 1.074 GB, free: 5.027 MB / 0.8419 GB [/var/lib/jenkins1/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.005709/0.3807, allocations: 3.495 MB / 1.077 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.381, allocations: 40.72 kB / 1.077 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005017/0.3815, allocations: 215.2 kB / 1.077 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.382, allocations: 235.1 kB / 1.078 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.832e-05/0.382, allocations: 16 kB / 1.078 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.3833, allocations: 0.5732 MB / 1.078 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002831/0.3836, allocations: 215.3 kB / 1.078 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.5609/0.9445, allocations: 251.6 kB / 1.079 GB, free: 16.55 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.9463, allocations: 0.7114 MB / 1.079 GB, free: 16.52 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9463, allocations: 4.875 kB / 1.079 GB, free: 16.52 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9463, allocations: 0 / 1.079 GB, free: 16.52 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.597e-05/0.9464, allocations: 1.562 kB / 1.079 GB, free: 16.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.002106/0.9485, allocations: 0.9194 MB / 1.08 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.9486, allocations: 9.281 kB / 1.08 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009452/0.9495, allocations: 150.7 kB / 1.08 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.9513, allocations: 1.15 MB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.9514, allocations: 11.55 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.365e-05/0.9514, allocations: 14.05 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005219/0.952, allocations: 173.6 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.952, allocations: 4.219 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.952, allocations: 4.469 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.952, allocations: 2.938 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000651/0.9527, allocations: 174.7 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.9543, allocations: 0.7188 MB / 1.083 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009258/0.9552, allocations: 197.3 kB / 1.083 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002871/0.9555, allocations: 82.14 kB / 1.083 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.16e-05/0.9556, allocations: 2.672 kB / 1.083 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.9556, allocations: 32.25 kB / 1.083 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.9556, allocations: 0 / 1.083 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001077/0.9567, allocations: 317.6 kB / 1.083 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.9567, allocations: 53.69 kB / 1.083 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.9578, allocations: 0.7731 MB / 1.084 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.9579, allocations: 26.77 kB / 1.084 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.9581, allocations: 250.9 kB / 1.084 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.9581, allocations: 34.8 kB / 1.084 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.9583, allocations: 158.3 kB / 1.085 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.9584, allocations: 374.2 kB / 1.085 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005948/0.9591, allocations: 303.8 kB / 1.085 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006665/0.9597, allocations: 414.8 kB / 1.086 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.9608, allocations: 0.6208 MB / 1.086 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.9608, allocations: 0.75 kB / 1.086 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001492/0.9623, allocations: 0.8025 MB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.9623, allocations: 8.531 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.9623, allocations: 2.969 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.9624, allocations: 5.312 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/0.9632, allocations: 129.7 kB / 1.087 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004704/0.9637, allocations: 0.6288 MB / 1.088 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.9642, allocations: 79 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/0.9643, allocations: 24.16 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007337/0.965, allocations: 483.8 kB / 1.088 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005858/0.9656, allocations: 405.8 kB / 1.089 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.9666, allocations: 0.6073 MB / 1.089 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.9666, allocations: 0 / 1.089 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001401/0.9681, allocations: 0.785 MB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.9681, allocations: 7.25 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9681, allocations: 5.172 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.9681, allocations: 4.375 kB / 1.09 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.9687, allocations: 135.8 kB / 1.09 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.9687, allocations: 9.172 kB / 1.09 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.9692, allocations: 61.12 kB / 1.09 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/0.9693, allocations: 22.02 kB / 1.09 GB, free: 12.45 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.000145/0.9695, allocations: 209.3 kB / 1.09 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.9696, allocations: 54.11 kB / 1.09 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/0.9704, allocations: 244.2 kB / 1.091 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.9704, allocations: 2.438 kB / 1.091 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9704, allocations: 0 / 1.091 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.9704, allocations: 5.062 kB / 1.091 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.971, allocations: 390.8 kB / 1.091 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.971, allocations: 1.172 kB / 1.091 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.9713, allocations: 53.36 kB / 1.091 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.9713, allocations: 7.125 kB / 1.091 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.9713, allocations: 4.188 kB / 1.091 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002195/0.9716, allocations: 0.6043 MB / 1.092 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9716, allocations: 1.891 kB / 1.092 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006969/0.9723, allocations: 338 kB / 1.092 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.9725, allocations: 154.4 kB / 1.092 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.452e-05/0.9726, allocations: 5.375 kB / 1.092 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.9729, allocations: 30.56 kB / 1.092 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.9729, allocations: 8.188 kB / 1.092 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.973, allocations: 3.922 kB / 1.092 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007301/0.9737, allocations: 0.5192 MB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6.92e-07/0.9737, allocations: 0 / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001225/0.9749, allocations: 305 kB / 1.093 GB, free: 10.64 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.001003/0.9759, allocations: 339.8 kB / 1.093 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002347/0.9783, allocations: 0.8846 MB / 1.094 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.9783, allocations: 3.812 kB / 1.094 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004161/0.9787, allocations: 103.6 kB / 1.094 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.9798, allocations: 210.5 kB / 1.095 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003106/0.9829, allocations: 1.272 MB / 1.096 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.9834, allocations: 0.897 MB / 1.097 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.9836, allocations: 56.17 kB / 1.097 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.9836, allocations: 0 / 1.097 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of Templates: time 0.02308/1.007, allocations: 11.5 MB / 1.108 GB, free: 7.656 MB / 0.8419 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)