Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0009508/0.000951, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 185.5 kB / 16.92 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.506/1.506, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.737/2.737, allocations: 437.8 MB / 0.7128 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003916, allocations: 8.281 kB / 0.8735 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7678, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.002854/0.7707, allocations: 2.077 MB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007074/0.7778, allocations: 3.837 MB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.7782, allocations: 11.94 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006781/0.785, allocations: 3.173 MB / 1.033 GB, free: 6.777 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001229/0.7863, allocations: 362.7 kB / 1.033 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.7876, allocations: 463.3 kB / 1.033 GB, free: 5.969 MB / 0.7794 GB [/var/lib/jenkins1/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.005594/0.7932, allocations: 3.58 MB / 1.037 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.7934, allocations: 48.67 kB / 1.037 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004035/0.7938, allocations: 179.3 kB / 1.037 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004723/0.7943, allocations: 227.1 kB / 1.037 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.067e-05/0.7944, allocations: 8 kB / 1.037 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.7956, allocations: 0.6043 MB / 1.038 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.7959, allocations: 203.4 kB / 1.038 GB, free: 1.121 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.7963, allocations: 268.2 kB / 1.038 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001132/0.7974, allocations: 0.6974 MB / 1.039 GB, free: 156 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7974, allocations: 0 / 1.039 GB, free: 156 kB / 0.7794 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7974, allocations: 0 / 1.039 GB, free: 156 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.7974, allocations: 0 / 1.039 GB, free: 156 kB / 0.7794 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.001853/0.7993, allocations: 0.8478 MB / 1.04 GB, free: 15.25 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.7994, allocations: 12.03 kB / 1.04 GB, free: 15.24 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009107/0.8003, allocations: 156 kB / 1.04 GB, free: 15.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.8023, allocations: 1.136 MB / 1.041 GB, free: 13.91 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.965e-05/0.8024, allocations: 19.98 kB / 1.041 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.8025, allocations: 8 kB / 1.041 GB, free: 13.89 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/0.803, allocations: 187.3 kB / 1.041 GB, free: 13.7 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.8031, allocations: 0 / 1.041 GB, free: 13.7 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.8031, allocations: 0 / 1.041 GB, free: 13.7 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8031, allocations: 0 / 1.041 GB, free: 13.7 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007111/0.8038, allocations: 207.8 kB / 1.042 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.8056, allocations: 0.7339 MB / 1.042 GB, free: 12.71 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.8066, allocations: 202.6 kB / 1.042 GB, free: 12.5 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.8069, allocations: 96.78 kB / 1.043 GB, free: 12.41 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.807, allocations: 4 kB / 1.043 GB, free: 12.4 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.807, allocations: 30.56 kB / 1.043 GB, free: 12.36 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.807, allocations: 0 / 1.043 GB, free: 12.36 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.001225/0.8082, allocations: 352.6 kB / 1.043 GB, free: 12.01 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.8083, allocations: 51.41 kB / 1.043 GB, free: 11.95 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.8096, allocations: 0.7773 MB / 1.044 GB, free: 11.16 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.8096, allocations: 29.7 kB / 1.044 GB, free: 11.13 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.8099, allocations: 256.4 kB / 1.044 GB, free: 10.88 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.8099, allocations: 35.55 kB / 1.044 GB, free: 10.84 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.8101, allocations: 89.66 kB / 1.044 GB, free: 10.75 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001987/0.8103, allocations: 374.7 kB / 1.044 GB, free: 10.37 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005786/0.8109, allocations: 309.3 kB / 1.045 GB, free: 10.07 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007542/0.8116, allocations: 424.3 kB / 1.045 GB, free: 9.613 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.8127, allocations: 0.6404 MB / 1.046 GB, free: 8.934 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8127, allocations: 0 / 1.046 GB, free: 8.934 MB / 0.795 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001549/0.8143, allocations: 0.8242 MB / 1.047 GB, free: 8.102 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/0.8145, allocations: 176.7 kB / 1.047 GB, free: 7.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.8145, allocations: 4 kB / 1.047 GB, free: 7.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.8145, allocations: 4 kB / 1.047 GB, free: 7.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/0.8153, allocations: 139.8 kB / 1.047 GB, free: 7.742 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000688/0.816, allocations: 0.6289 MB / 1.048 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.8165, allocations: 83.48 kB / 1.048 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/0.8165, allocations: 24 kB / 1.048 GB, free: 6.984 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 7.975e-06/0.8165, allocations: 0 / 1.048 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001461/0.818, allocations: 0.7204 MB / 1.048 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.818, allocations: 4 kB / 1.048 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.8181, allocations: 4 kB / 1.048 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.8186, allocations: 139.9 kB / 1.048 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.8186, allocations: 4 kB / 1.048 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.819, allocations: 63.66 kB / 1.049 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.8191, allocations: 20 kB / 1.049 GB, free: 6.035 MB / 0.795 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.000471/0.8196, allocations: 328.8 kB / 1.049 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.8197, allocations: 59.19 kB / 1.049 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007652/0.8204, allocations: 267.5 kB / 1.049 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.8205, allocations: 3.984 kB / 1.049 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.8205, allocations: 0 / 1.049 GB, free: 5.371 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.8205, allocations: 3.938 kB / 1.049 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005098/0.821, allocations: 389.3 kB / 1.05 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.821, allocations: 0 / 1.05 GB, free: 4.938 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.8214, allocations: 63.95 kB / 1.05 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.8214, allocations: 0 / 1.05 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.8214, allocations: 0 / 1.05 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003776/0.8218, allocations: 0.6054 MB / 1.05 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.8218, allocations: 0 / 1.05 GB, free: 4.246 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.8226, allocations: 358.8 kB / 1.051 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.8228, allocations: 160.3 kB / 1.051 GB, free: 3.703 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.8229, allocations: 7.938 kB / 1.051 GB, free: 3.695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.8231, allocations: 31.97 kB / 1.051 GB, free: 3.664 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.8232, allocations: 7.984 kB / 1.051 GB, free: 3.656 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.8232, allocations: 4 kB / 1.051 GB, free: 3.652 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007327/0.824, allocations: 0.5185 MB / 1.051 GB, free: 3.137 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.824, allocations: 8 kB / 1.051 GB, free: 3.129 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009782/0.8249, allocations: 299.8 kB / 1.052 GB, free: 2.836 MB / 0.795 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.0008339/0.8258, allocations: 338.9 kB / 1.052 GB, free: 2.496 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002313/0.8281, allocations: 0.9243 MB / 1.053 GB, free: 1.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8281, allocations: 0 / 1.053 GB, free: 1.57 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.8285, allocations: 116.3 kB / 1.053 GB, free: 1.457 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/0.8295, allocations: 178.7 kB / 1.053 GB, free: 1.289 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003007/0.8325, allocations: 1.294 MB / 1.054 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.833, allocations: 0.8974 MB / 1.055 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.8332, allocations: 55.42 kB / 1.055 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.8332, allocations: 0 / 1.055 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.01943/0.8527, allocations: 11.4 MB / 1.066 GB, free: 3.641 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.sim & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)