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.001025/0.001025, 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.008467/0.008467, allocations: 170 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.348 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: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 8.438 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3293, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003077/0.3324, allocations: 2.07 MB / 1.076 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007453/0.3399, allocations: 3.855 MB / 1.08 GB, free: 1.613 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.3404, allocations: 4 kB / 1.08 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006612/0.347, allocations: 3.171 MB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.3482, allocations: 362.7 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.3496, allocations: 459.3 kB / 1.084 GB, free: 13.63 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.005269/0.3549, allocations: 3.592 MB / 1.087 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.3551, allocations: 36.73 kB / 1.087 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.3555, allocations: 187.2 kB / 1.088 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.3559, allocations: 231.1 kB / 1.088 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.3559, allocations: 8 kB / 1.088 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.3571, allocations: 0.6004 MB / 1.088 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.3573, allocations: 195.5 kB / 1.089 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.3576, allocations: 280.1 kB / 1.089 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.3588, allocations: 0.9382 MB / 1.09 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3588, allocations: 0 / 1.09 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3588, allocations: 0 / 1.09 GB, free: 7.559 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.3588, allocations: 4 kB / 1.09 GB, free: 7.555 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.00161/0.3605, allocations: 0.8477 MB / 1.091 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.3605, allocations: 15.97 kB / 1.091 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.3614, allocations: 148.1 kB / 1.091 GB, free: 6.496 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.363, allocations: 1.152 MB / 1.092 GB, free: 5.305 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/0.3631, allocations: 12 kB / 1.092 GB, free: 5.293 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.636e-05/0.3631, allocations: 12 kB / 1.092 GB, free: 5.281 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/0.3636, allocations: 179.1 kB / 1.092 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.3637, allocations: 0 / 1.092 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.3637, allocations: 7.984 kB / 1.092 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3637, allocations: 4 kB / 1.092 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/0.3644, allocations: 195.8 kB / 1.092 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.3658, allocations: 0.7261 MB / 1.093 GB, free: 4.121 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008749/0.3667, allocations: 206.5 kB / 1.093 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.367, allocations: 92.8 kB / 1.093 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.367, allocations: 0 / 1.093 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.367, allocations: 34.56 kB / 1.093 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.367, allocations: 3.938 kB / 1.093 GB, free: 3.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0011/0.3682, allocations: 348.7 kB / 1.094 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.3682, allocations: 55.41 kB / 1.094 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/0.3692, allocations: 0.7734 MB / 1.094 GB, free: 2.574 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.3692, allocations: 29.7 kB / 1.094 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/0.3694, allocations: 260.4 kB / 1.095 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.3695, allocations: 35.55 kB / 1.095 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.3696, allocations: 89.66 kB / 1.095 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3698, allocations: 378.7 kB / 1.095 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.3703, allocations: 301.3 kB / 1.095 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/0.371, allocations: 424.3 kB / 1.096 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.3721, allocations: 0.6404 MB / 1.096 GB, free: 352 kB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3722, allocations: 4 kB / 1.096 GB, free: 348 kB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001512/0.3737, allocations: 0.8165 MB / 1.097 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.3738, allocations: 173.1 kB / 1.097 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.3738, allocations: 4 kB / 1.097 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3738, allocations: 4 kB / 1.097 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/0.3746, allocations: 135.8 kB / 1.098 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005467/0.3751, allocations: 0.6289 MB / 1.098 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004573/0.3756, allocations: 83.44 kB / 1.098 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.3757, allocations: 24 kB / 1.098 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.3757, allocations: 4 kB / 1.098 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001369/0.3771, allocations: 0.7403 MB / 1.099 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3771, allocations: 0 / 1.099 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.3771, allocations: 12.12 kB / 1.099 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005396/0.3777, allocations: 131.8 kB / 1.099 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.3777, allocations: 7.938 kB / 1.099 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003918/0.3781, allocations: 71.56 kB / 1.099 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.3781, allocations: 23.98 kB / 1.099 GB, free: 13.42 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.0003107/0.3785, allocations: 309.5 kB / 1.1 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.156e-05/0.3785, allocations: 59.19 kB / 1.1 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007977/0.3794, allocations: 262.9 kB / 1.1 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3794, allocations: 4 kB / 1.1 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3794, allocations: 0 / 1.1 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3794, allocations: 7.875 kB / 1.1 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.3798, allocations: 389.3 kB / 1.1 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3799, allocations: 4 kB / 1.1 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.3802, allocations: 51.95 kB / 1.1 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3802, allocations: 0 / 1.1 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3802, allocations: 4 kB / 1.1 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003234/0.3805, allocations: 0.6094 MB / 1.101 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3806, allocations: 0 / 1.101 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007613/0.3813, allocations: 358.7 kB / 1.101 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.3815, allocations: 156.3 kB / 1.101 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.273e-05/0.3816, allocations: 7.938 kB / 1.101 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.3819, allocations: 31.97 kB / 1.101 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.3819, allocations: 7.984 kB / 1.101 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.382, allocations: 11.94 kB / 1.101 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000656/0.3826, allocations: 0.5224 MB / 1.102 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3826, allocations: 0 / 1.102 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009808/0.3836, allocations: 303.8 kB / 1.102 GB, free: 10.23 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.0007741/0.3844, allocations: 335 kB / 1.103 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002464/0.3869, allocations: 0.9153 MB / 1.103 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3869, allocations: 0 / 1.103 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.3875, allocations: 112.3 kB / 1.104 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.389, allocations: 186.8 kB / 1.104 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.3932, allocations: 1.245 MB / 1.105 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008093/0.3941, allocations: 0.9013 MB / 1.106 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001088/0.3952, allocations: 168.4 kB / 1.106 GB, free: 6.328 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002989/0.3955, allocations: 51.41 kB / 1.106 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of SimCode: time 6.51e-07/0.3955, allocations: 4 kB / 1.106 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of Templates: time 0.03047/0.426, allocations: 11.08 MB / 1.117 GB, free: 11.3 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)