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.001115/0.001115, 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.008021/0.008022, allocations: 173.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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8.906 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3028, allocations: 159.6 MB / 1.059 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.002635/0.3055, allocations: 2.076 MB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005979/0.3115, allocations: 3.839 MB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.3118, allocations: 11.94 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005818/0.3176, allocations: 3.179 MB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009217/0.3186, allocations: 366.7 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3196, allocations: 459.2 kB / 1.068 GB, free: 11.49 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.004631/0.3243, allocations: 3.588 MB / 1.072 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.3244, allocations: 40.67 kB / 1.072 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.3248, allocations: 183.3 kB / 1.072 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003452/0.3251, allocations: 223.1 kB / 1.072 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.553e-05/0.3252, allocations: 8 kB / 1.072 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009782/0.3262, allocations: 0.6043 MB / 1.073 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.3264, allocations: 203.4 kB / 1.073 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.3266, allocations: 268.2 kB / 1.073 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001168/0.3278, allocations: 0.946 MB / 1.074 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3278, allocations: 0 / 1.074 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3278, allocations: 0 / 1.074 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.3278, allocations: 3.938 kB / 1.074 GB, free: 5.426 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.001498/0.3294, allocations: 0.8517 MB / 1.075 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3294, allocations: 12.03 kB / 1.075 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008612/0.3303, allocations: 152 kB / 1.075 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.3318, allocations: 1.14 MB / 1.076 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.3319, allocations: 8 kB / 1.076 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.3319, allocations: 12 kB / 1.076 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.3325, allocations: 186.6 kB / 1.077 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3325, allocations: 4 kB / 1.077 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.3325, allocations: 4 kB / 1.077 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.984e-06/0.3325, allocations: 4 kB / 1.077 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.3332, allocations: 195.8 kB / 1.077 GB, free: 2.773 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.3346, allocations: 0.7224 MB / 1.077 GB, free: 2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000888/0.3355, allocations: 210.5 kB / 1.078 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.3358, allocations: 88.8 kB / 1.078 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.3358, allocations: 11.98 kB / 1.078 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.3359, allocations: 30.56 kB / 1.078 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3359, allocations: 0 / 1.078 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001104/0.337, allocations: 344.7 kB / 1.078 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.337, allocations: 55.41 kB / 1.078 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009159/0.3379, allocations: 0.7812 MB / 1.079 GB, free: 456 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.338, allocations: 25.7 kB / 1.079 GB, free: 424 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.3382, allocations: 252.4 kB / 1.079 GB, free: 168 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.3382, allocations: 35.55 kB / 1.079 GB, free: 132 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-05/0.3383, allocations: 89.66 kB / 1.079 GB, free: 36 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3385, allocations: 382.7 kB / 1.08 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.3391, allocations: 301.4 kB / 1.08 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006523/0.3397, allocations: 424.3 kB / 1.08 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.3408, allocations: 0.6403 MB / 1.081 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.3409, allocations: 4 kB / 1.081 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001404/0.3423, allocations: 0.8129 MB / 1.082 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/0.3424, allocations: 190.2 kB / 1.082 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3424, allocations: 0 / 1.082 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3424, allocations: 8 kB / 1.082 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.3432, allocations: 128 kB / 1.082 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000554/0.3437, allocations: 0.6366 MB / 1.083 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.3442, allocations: 79.34 kB / 1.083 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.3443, allocations: 28.08 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.907e-06/0.3443, allocations: 8 kB / 1.083 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/0.3456, allocations: 0.7286 MB / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3456, allocations: 4 kB / 1.084 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-06/0.3457, allocations: 4 kB / 1.084 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005241/0.3462, allocations: 135.8 kB / 1.084 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.3462, allocations: 20.11 kB / 1.084 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.3466, allocations: 59.66 kB / 1.084 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.3467, allocations: 20 kB / 1.084 GB, free: 11.3 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.0003346/0.347, allocations: 320.9 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.3471, allocations: 51.25 kB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008012/0.3479, allocations: 266.9 kB / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.348, allocations: 0 / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.348, allocations: 0 / 1.084 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.348, allocations: 7.938 kB / 1.084 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.3485, allocations: 385.3 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3485, allocations: 0 / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.3488, allocations: 59.95 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.3488, allocations: 0 / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.3488, allocations: 0 / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003239/0.3491, allocations: 0.6093 MB / 1.085 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3491, allocations: 0 / 1.085 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/0.3499, allocations: 362.9 kB / 1.086 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.3501, allocations: 160.3 kB / 1.086 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/0.3502, allocations: 3.938 kB / 1.086 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002928/0.3505, allocations: 35.97 kB / 1.086 GB, free: 8.941 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3506, allocations: 7.984 kB / 1.086 GB, free: 8.934 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.3506, allocations: 4 kB / 1.086 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007235/0.3513, allocations: 0.5185 MB / 1.086 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.224e-06/0.3513, allocations: 0 / 1.086 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001043/0.3524, allocations: 307.7 kB / 1.087 GB, free: 8.113 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.000861/0.3532, allocations: 335 kB / 1.087 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00222/0.3555, allocations: 0.9124 MB / 1.088 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3555, allocations: 0 / 1.088 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.3559, allocations: 112.3 kB / 1.088 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.3569, allocations: 191.5 kB / 1.088 GB, free: 6.574 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.3597, allocations: 1.23 MB / 1.089 GB, free: 5.316 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.3602, allocations: 0.9052 MB / 1.09 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006132/0.3608, allocations: 172.3 kB / 1.091 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.361, allocations: 55.41 kB / 1.091 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.361, allocations: 0 / 1.091 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of Templates: time 0.01872/0.3797, allocations: 11.07 MB / 1.101 GB, free: 9.203 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)