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.001005/0.001005, allocations: 90.52 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.006642/0.006642, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.092/3.092, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003393, allocations: 9.312 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3673, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.002984/0.3704, allocations: 2.07 MB / 1.076 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007169/0.3776, allocations: 3.847 MB / 1.08 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004419/0.378, allocations: 8 kB / 1.08 GB, free: 1.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006619/0.3847, allocations: 3.163 MB / 1.083 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.3858, allocations: 354.8 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.3872, allocations: 471.2 kB / 1.084 GB, free: 13.61 MB / 0.8419 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.005554/0.3928, allocations: 3.588 MB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.3929, allocations: 48.72 kB / 1.087 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.3933, allocations: 183.2 kB / 1.088 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004085/0.3937, allocations: 227.1 kB / 1.088 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.3938, allocations: 11.98 kB / 1.088 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.395, allocations: 0.6043 MB / 1.088 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.3952, allocations: 199.4 kB / 1.089 GB, free: 8.754 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.3956, allocations: 272.1 kB / 1.089 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.3971, allocations: 0.9383 MB / 1.09 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3971, allocations: 3.938 kB / 1.09 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3971, allocations: 0 / 1.09 GB, free: 7.535 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.3971, allocations: 0 / 1.09 GB, free: 7.535 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.001828/0.3989, allocations: 0.8516 MB / 1.091 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.399, allocations: 11.97 kB / 1.091 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009112/0.3999, allocations: 156 kB / 1.091 GB, free: 6.469 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001947/0.4019, allocations: 1.14 MB / 1.092 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.402, allocations: 15.98 kB / 1.092 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.402, allocations: 16 kB / 1.092 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.4027, allocations: 182.7 kB / 1.092 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.4027, allocations: 0 / 1.092 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.4027, allocations: 4 kB / 1.092 GB, free: 5.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4027, allocations: 4 kB / 1.092 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.4035, allocations: 199.8 kB / 1.092 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.4049, allocations: 0.7261 MB / 1.093 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009338/0.4058, allocations: 198.6 kB / 1.093 GB, free: 3.891 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.4062, allocations: 96.8 kB / 1.093 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4062, allocations: 0 / 1.093 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.4063, allocations: 30.56 kB / 1.093 GB, free: 3.754 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.4063, allocations: 4 kB / 1.093 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001148/0.4074, allocations: 348.7 kB / 1.094 GB, free: 3.402 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.4075, allocations: 55.41 kB / 1.094 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.4085, allocations: 0.7734 MB / 1.094 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.4085, allocations: 29.7 kB / 1.094 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.4089, allocations: 256.4 kB / 1.095 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.092e-05/0.4089, allocations: 35.55 kB / 1.095 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.4091, allocations: 85.66 kB / 1.095 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000279/0.4093, allocations: 386.6 kB / 1.095 GB, free: 1.754 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/0.41, allocations: 297.4 kB / 1.095 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007546/0.4107, allocations: 428.3 kB / 1.096 GB, free: 1 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.412, allocations: 0.6404 MB / 1.096 GB, free: 332 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.412, allocations: 0 / 1.096 GB, free: 332 kB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001622/0.4136, allocations: 0.8126 MB / 1.097 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.4138, allocations: 177.1 kB / 1.097 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.4138, allocations: 4 kB / 1.097 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.4138, allocations: 4 kB / 1.097 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.4146, allocations: 139.8 kB / 1.098 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000612/0.4153, allocations: 0.625 MB / 1.098 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.4158, allocations: 87.89 kB / 1.098 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.508e-05/0.4158, allocations: 24 kB / 1.098 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.4159, allocations: 5.875 kB / 1.098 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/0.4173, allocations: 0.7364 MB / 1.099 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.4173, allocations: 96 / 1.099 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.4173, allocations: 11.94 kB / 1.099 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/0.4178, allocations: 136 kB / 1.099 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.4179, allocations: 7.938 kB / 1.099 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.4183, allocations: 67.56 kB / 1.099 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.4183, allocations: 23.98 kB / 1.099 GB, free: 13.4 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.0003687/0.4187, allocations: 312.9 kB / 1.1 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.4188, allocations: 55.25 kB / 1.1 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008881/0.4197, allocations: 266.9 kB / 1.1 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/0.4197, allocations: 4 kB / 1.1 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4197, allocations: 0 / 1.1 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4198, allocations: 3.938 kB / 1.1 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005281/0.4203, allocations: 385.3 kB / 1.1 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4203, allocations: 8 kB / 1.1 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003215/0.4206, allocations: 59.89 kB / 1.1 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4206, allocations: 0 / 1.1 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.4207, allocations: 4 kB / 1.1 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004029/0.4211, allocations: 0.6016 MB / 1.101 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4211, allocations: 4.031 kB / 1.101 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.4219, allocations: 358.7 kB / 1.101 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.4221, allocations: 156.3 kB / 1.101 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.4221, allocations: 11.94 kB / 1.101 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/0.4224, allocations: 27.97 kB / 1.101 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.4225, allocations: 7.984 kB / 1.101 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.4225, allocations: 12.12 kB / 1.101 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006998/0.4232, allocations: 0.5185 MB / 1.102 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.11e-07/0.4232, allocations: 7.938 kB / 1.102 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009372/0.4242, allocations: 303.8 kB / 1.102 GB, free: 10.21 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.0008263/0.425, allocations: 330.9 kB / 1.103 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002326/0.4273, allocations: 0.9152 MB / 1.103 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4274, allocations: 0 / 1.103 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004232/0.4278, allocations: 112.3 kB / 1.104 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009566/0.4288, allocations: 194.8 kB / 1.104 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.4318, allocations: 1.238 MB / 1.105 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.4324, allocations: 0.9013 MB / 1.106 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000589/0.433, allocations: 180.3 kB / 1.106 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.4332, allocations: 51.41 kB / 1.106 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of SimCode: time 6.71e-07/0.4332, allocations: 0 / 1.106 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of Templates: time 0.02009/0.4533, allocations: 11.07 MB / 1.117 GB, free: 11.29 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)