Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001111/0.001112, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001222/0.001222, allocations: 193.2 kB / 16.14 MB, free: 6.703 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.459/1.459, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.983/2.983, allocations: 472.6 MB / 0.7447 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.42 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3374, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003698/0.3412, allocations: 2.42 MB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006525/0.3477, allocations: 3.923 MB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.3481, allocations: 7.938 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.007315/0.3555, allocations: 3.171 MB / 1.077 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.3569, allocations: 358.8 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.3584, allocations: 470.4 kB / 1.078 GB, free: 0.543 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.005321/0.3637, allocations: 3.588 MB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.3639, allocations: 40.73 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003692/0.3643, allocations: 183.3 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.3646, allocations: 231 kB / 1.082 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.434e-05/0.3647, allocations: 15.94 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.3658, allocations: 0.6044 MB / 1.082 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002259/0.3661, allocations: 199.4 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.3663, allocations: 254.5 kB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001505/0.3678, allocations: 0.9462 MB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3678, allocations: 0 / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3679, allocations: 0 / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.3679, allocations: 0 / 1.083 GB, free: 10.48 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.001874/0.3698, allocations: 0.929 MB / 1.084 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.3698, allocations: 19.95 kB / 1.084 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009436/0.3708, allocations: 148.1 kB / 1.085 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.3724, allocations: 1.14 MB / 1.086 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.3725, allocations: 12 kB / 1.086 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.3725, allocations: 12 kB / 1.086 GB, free: 8.137 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000546/0.3731, allocations: 177.5 kB / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3731, allocations: 0 / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.3731, allocations: 0 / 1.086 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.3731, allocations: 7.984 kB / 1.086 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006724/0.3738, allocations: 177.6 kB / 1.086 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.3752, allocations: 0.726 MB / 1.087 GB, free: 7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009451/0.3762, allocations: 186.6 kB / 1.087 GB, free: 6.809 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000301/0.3765, allocations: 80.73 kB / 1.087 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.3765, allocations: 0 / 1.087 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3766, allocations: 46.5 kB / 1.087 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.3766, allocations: 0 / 1.087 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001074/0.3777, allocations: 308.7 kB / 1.087 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.3777, allocations: 51.41 kB / 1.087 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3788, allocations: 0.7812 MB / 1.088 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.3788, allocations: 29.7 kB / 1.088 GB, free: 5.477 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.3791, allocations: 256.4 kB / 1.088 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.511e-05/0.3791, allocations: 39.48 kB / 1.088 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/0.3794, allocations: 154.1 kB / 1.089 GB, free: 5.027 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.3796, allocations: 374.7 kB / 1.089 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005932/0.3802, allocations: 299.3 kB / 1.089 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.3809, allocations: 416.3 kB / 1.09 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.382, allocations: 0.613 MB / 1.09 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.382, allocations: 0 / 1.09 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001457/0.3835, allocations: 0.7967 MB / 1.091 GB, free: 2.453 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3835, allocations: 4 kB / 1.091 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.3835, allocations: 4.344 kB / 1.091 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3836, allocations: 15.98 kB / 1.091 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008058/0.3844, allocations: 123.9 kB / 1.091 GB, free: 2.309 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006406/0.385, allocations: 0.6288 MB / 1.092 GB, free: 1.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.3856, allocations: 83.44 kB / 1.092 GB, free: 1.574 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.3856, allocations: 24 kB / 1.092 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007164/0.3864, allocations: 469.5 kB / 1.092 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005937/0.387, allocations: 420.3 kB / 1.093 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009912/0.388, allocations: 0.6126 MB / 1.093 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.388, allocations: 4 kB / 1.093 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001349/0.3893, allocations: 0.776 MB / 1.094 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3894, allocations: 8 kB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3894, allocations: 4 kB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.3894, allocations: 4.562 kB / 1.094 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005652/0.39, allocations: 127.9 kB / 1.094 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.39, allocations: 11.98 kB / 1.094 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004575/0.3904, allocations: 63.59 kB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/0.3905, allocations: 23.98 kB / 1.094 GB, free: 14.96 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.000155/0.3907, allocations: 200.1 kB / 1.095 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.465e-05/0.3908, allocations: 59.19 kB / 1.095 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007537/0.3915, allocations: 250.9 kB / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3915, allocations: 0 / 1.095 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3915, allocations: 3.938 kB / 1.095 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3916, allocations: 0 / 1.095 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.392, allocations: 389.2 kB / 1.095 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.392, allocations: 0 / 1.095 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.3924, allocations: 51.95 kB / 1.095 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.3924, allocations: 4 kB / 1.095 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3924, allocations: 4 kB / 1.095 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003183/0.3927, allocations: 0.6092 MB / 1.096 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3928, allocations: 0 / 1.096 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007045/0.3935, allocations: 342.7 kB / 1.096 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.3937, allocations: 164.2 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-05/0.3937, allocations: 0 / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.394, allocations: 19.97 kB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.3941, allocations: 15.98 kB / 1.096 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3941, allocations: 0 / 1.096 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006474/0.3948, allocations: 0.5263 MB / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3948, allocations: 0 / 1.097 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009283/0.3957, allocations: 299.9 kB / 1.097 GB, free: 11.94 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.0007811/0.3965, allocations: 327.1 kB / 1.097 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002283/0.3988, allocations: 0.8801 MB / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3988, allocations: 0 / 1.098 GB, free: 10.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.3992, allocations: 108.3 kB / 1.098 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008906/0.4001, allocations: 191.8 kB / 1.099 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.4032, allocations: 1.22 MB / 1.1 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.4038, allocations: 0.8974 MB / 1.101 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006828/0.4045, allocations: 180.4 kB / 1.101 GB, free: 8.082 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.4047, allocations: 51.41 kB / 1.101 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.4047, allocations: 0 / 1.101 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of Templates: time 0.0193/0.424, allocations: 11.12 MB / 1.112 GB, free: 13.01 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)