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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001633/0.001633, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002054/0.002055, allocations: 188.2 kB / 16.25 MB, free: 6.633 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.548/1.548, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.698/2.698, allocations: 437 MB / 0.71 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 71.88 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7686/0.77, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003907/0.7739, allocations: 2.443 MB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006646/0.7806, allocations: 3.779 MB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.781, allocations: 7.938 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006149/0.7872, allocations: 3.266 MB / 1.026 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.7882, allocations: 378.7 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001258/0.7895, allocations: 475.3 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.004698/0.7942, allocations: 3.495 MB / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.7944, allocations: 48.66 kB / 1.03 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002861/0.7947, allocations: 207.2 kB / 1.031 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.795, allocations: 239.1 kB / 1.031 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.7951, allocations: 16 kB / 1.031 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.7961, allocations: 0.5732 MB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.7964, allocations: 215.4 kB / 1.032 GB, free: 3.742 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.7966, allocations: 254.4 kB / 1.032 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001158/0.7978, allocations: 0.9657 MB / 1.033 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.7978, allocations: 0 / 1.033 GB, free: 2.523 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7978, allocations: 4 kB / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.7978, allocations: 0 / 1.033 GB, free: 2.52 MB / 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.001658/0.7995, allocations: 0.9174 MB / 1.034 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.7995, allocations: 8.031 kB / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008274/0.8003, allocations: 156.1 kB / 1.034 GB, free: 1.391 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.8018, allocations: 1.148 MB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.55e-05/0.8019, allocations: 12 kB / 1.035 GB, free: 196 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.8019, allocations: 12 kB / 1.035 GB, free: 184 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/0.8024, allocations: 175.1 kB / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.8025, allocations: 0 / 1.035 GB, free: 4 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.8025, allocations: 8.016 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.8025, allocations: 4 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.8031, allocations: 171.8 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.8045, allocations: 0.7337 MB / 1.036 GB, free: 15.04 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009221/0.8054, allocations: 186.6 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002756/0.8057, allocations: 84.8 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.8057, allocations: 0 / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.8058, allocations: 38.55 kB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 2.485e-06/0.8058, allocations: 4 kB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.001008/0.8068, allocations: 308.7 kB / 1.037 GB, free: 14.4 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/0.8069, allocations: 55.41 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008981/0.8078, allocations: 0.7734 MB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.8079, allocations: 29.7 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.8081, allocations: 260.5 kB / 1.038 GB, free: 13.26 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.8081, allocations: 35.55 kB / 1.038 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/0.8083, allocations: 158 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.8085, allocations: 378.7 kB / 1.038 GB, free: 12.69 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005852/0.8091, allocations: 295.4 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.8097, allocations: 416.3 kB / 1.039 GB, free: 11.95 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.8108, allocations: 0.613 MB / 1.039 GB, free: 11.3 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.8108, allocations: 4 kB / 1.039 GB, free: 11.29 MB / 0.795 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00136/0.8122, allocations: 0.793 MB / 1.04 GB, free: 10.49 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.8122, allocations: 13.55 kB / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.8122, allocations: 0 / 1.04 GB, free: 10.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.8122, allocations: 8 kB / 1.04 GB, free: 10.47 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/0.813, allocations: 131.9 kB / 1.04 GB, free: 10.34 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006044/0.8136, allocations: 0.6288 MB / 1.041 GB, free: 9.691 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004388/0.8141, allocations: 71.53 kB / 1.041 GB, free: 9.621 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.8141, allocations: 24 kB / 1.041 GB, free: 9.598 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007132/0.8149, allocations: 477.4 kB / 1.042 GB, free: 9.129 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006201/0.8155, allocations: 404.8 kB / 1.042 GB, free: 8.691 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009645/0.8165, allocations: 0.6196 MB / 1.043 GB, free: 8.031 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.954e-06/0.8165, allocations: 0 / 1.043 GB, free: 8.031 MB / 0.795 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001277/0.8178, allocations: 0.7761 MB / 1.043 GB, free: 7.246 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.8178, allocations: 8.094 kB / 1.043 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.8178, allocations: 11.88 kB / 1.043 GB, free: 7.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.8178, allocations: 7.938 kB / 1.043 GB, free: 7.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005221/0.8183, allocations: 127.8 kB / 1.043 GB, free: 7.094 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.8184, allocations: 4 kB / 1.043 GB, free: 7.09 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/0.8188, allocations: 67.69 kB / 1.044 GB, free: 7.023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.096e-05/0.8188, allocations: 23.98 kB / 1.044 GB, free: 7 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.0001597/0.819, allocations: 204.1 kB / 1.044 GB, free: 6.793 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.8191, allocations: 55.23 kB / 1.044 GB, free: 6.738 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007435/0.8198, allocations: 250.9 kB / 1.044 GB, free: 6.484 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.8198, allocations: 0 / 1.044 GB, free: 6.484 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8198, allocations: 3.938 kB / 1.044 GB, free: 6.48 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8198, allocations: 4 kB / 1.044 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.8203, allocations: 381.3 kB / 1.044 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.8203, allocations: 0 / 1.044 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002979/0.8206, allocations: 55.89 kB / 1.044 GB, free: 6 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.8206, allocations: 4 kB / 1.044 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.8206, allocations: 0 / 1.044 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003797/0.821, allocations: 0.6055 MB / 1.045 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.821, allocations: 0 / 1.045 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006658/0.8217, allocations: 334.7 kB / 1.045 GB, free: 5.023 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.8219, allocations: 164.3 kB / 1.046 GB, free: 4.844 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.8219, allocations: 7.984 kB / 1.046 GB, free: 4.836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.8222, allocations: 19.98 kB / 1.046 GB, free: 4.816 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.8223, allocations: 11.98 kB / 1.046 GB, free: 4.805 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.8223, allocations: 192 / 1.046 GB, free: 4.805 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006065/0.8229, allocations: 0.5224 MB / 1.046 GB, free: 4.285 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8229, allocations: 3.938 kB / 1.046 GB, free: 4.281 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009587/0.8239, allocations: 303.8 kB / 1.046 GB, free: 3.984 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.0007193/0.8246, allocations: 346.8 kB / 1.047 GB, free: 3.637 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.8268, allocations: 0.8884 MB / 1.048 GB, free: 2.75 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8268, allocations: 0 / 1.048 GB, free: 2.75 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/0.8272, allocations: 100.3 kB / 1.048 GB, free: 2.652 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/0.8281, allocations: 216.4 kB / 1.048 GB, free: 2.453 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.8309, allocations: 1.208 MB / 1.049 GB, free: 1.215 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.8314, allocations: 0.9052 MB / 1.05 GB, free: 288 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005562/0.8319, allocations: 180.3 kB / 1.05 GB, free: 108 kB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.8321, allocations: 55.41 kB / 1.05 GB, free: 52 kB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.8321, allocations: 0 / 1.05 GB, free: 52 kB / 0.795 GB Notification: Performance of Templates: time 0.0188/0.8509, allocations: 11.39 MB / 1.061 GB, free: 4.785 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)