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.001339/0.001339, allocations: 118.8 kB / 16.37 MB, free: 6.004 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.001484/0.001484, allocations: 192.8 kB / 17.31 MB, free: 5.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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.405/2.405, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 59.53 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2784, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003549/0.282, allocations: 2.378 MB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005669/0.2876, allocations: 3.8 MB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.2879, allocations: 7.938 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005611/0.2936, allocations: 3.211 MB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0008276/0.2944, allocations: 402.4 kB / 1.028 GB, free: 28 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.2955, allocations: 0.5234 MB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004372/0.2999, allocations: 3.298 MB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3, allocations: 52.64 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.3003, allocations: 199.3 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.3006, allocations: 211.1 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.3006, allocations: 16 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008573/0.3015, allocations: 0.581 MB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.3017, allocations: 203.5 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.3019, allocations: 258.4 kB / 1.034 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009744/0.3029, allocations: 0.9541 MB / 1.034 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3029, allocations: 0 / 1.034 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3029, allocations: 0 / 1.034 GB, free: 9.738 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.3029, allocations: 3.984 kB / 1.034 GB, free: 9.734 MB / 0.8106 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.00143/0.3044, allocations: 0.9213 MB / 1.035 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3044, allocations: 12.03 kB / 1.035 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.3052, allocations: 156.1 kB / 1.036 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.3069, allocations: 1.14 MB / 1.037 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.3069, allocations: 12 kB / 1.037 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.3069, allocations: 12 kB / 1.037 GB, free: 7.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.3074, allocations: 169.5 kB / 1.037 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.3074, allocations: 4 kB / 1.037 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.3074, allocations: 4 kB / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3075, allocations: 0 / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.308, allocations: 173.7 kB / 1.037 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.3093, allocations: 0.7299 MB / 1.038 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007938/0.3101, allocations: 178.6 kB / 1.038 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/0.3104, allocations: 84.8 kB / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.3104, allocations: 0 / 1.038 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3104, allocations: 34.56 kB / 1.038 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 2.284e-06/0.3105, allocations: 0 / 1.038 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0009171/0.3114, allocations: 313 kB / 1.038 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.3114, allocations: 59.34 kB / 1.038 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/0.3122, allocations: 0.7696 MB / 1.039 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.3122, allocations: 33.64 kB / 1.039 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.3124, allocations: 256.4 kB / 1.039 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.3125, allocations: 35.62 kB / 1.039 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.3127, allocations: 162 kB / 1.04 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.3128, allocations: 374.8 kB / 1.04 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.3133, allocations: 291.4 kB / 1.04 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005558/0.3139, allocations: 408.4 kB / 1.041 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009124/0.3148, allocations: 0.6169 MB / 1.041 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3148, allocations: 0 / 1.041 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001276/0.3161, allocations: 0.7969 MB / 1.042 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3161, allocations: 4 kB / 1.042 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3161, allocations: 4 kB / 1.042 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3162, allocations: 4 kB / 1.042 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.3169, allocations: 123.9 kB / 1.042 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005187/0.3174, allocations: 0.6368 MB / 1.043 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004036/0.3178, allocations: 75.33 kB / 1.043 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.3179, allocations: 23.98 kB / 1.043 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006387/0.3185, allocations: 486.2 kB / 1.043 GB, free: 384 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005477/0.3191, allocations: 412.2 kB / 1.044 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008891/0.32, allocations: 0.5963 MB / 1.044 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.325e-06/0.32, allocations: 7.938 kB / 1.044 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001216/0.3212, allocations: 0.776 MB / 1.045 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.3212, allocations: 8 kB / 1.045 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3213, allocations: 4 kB / 1.045 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.3213, allocations: 4 kB / 1.045 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005346/0.3218, allocations: 131.9 kB / 1.045 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3218, allocations: 4 kB / 1.045 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003956/0.3222, allocations: 72.05 kB / 1.045 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.3223, allocations: 20 kB / 1.045 GB, free: 14.26 MB / 0.8262 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.0001334/0.3224, allocations: 203 kB / 1.045 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.817e-05/0.3225, allocations: 55.25 kB / 1.046 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/0.3232, allocations: 239.1 kB / 1.046 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.3232, allocations: 96 / 1.046 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3232, allocations: 11.88 kB / 1.046 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3232, allocations: 0 / 1.046 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.3236, allocations: 389.3 kB / 1.046 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3236, allocations: 0 / 1.046 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.3239, allocations: 55.95 kB / 1.046 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3239, allocations: 0 / 1.046 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.324, allocations: 0 / 1.046 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003248/0.3243, allocations: 0.6093 MB / 1.047 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3243, allocations: 0 / 1.047 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006349/0.3249, allocations: 338.7 kB / 1.047 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.3252, allocations: 156.3 kB / 1.047 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.3252, allocations: 4 kB / 1.047 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.3255, allocations: 23.97 kB / 1.047 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.3256, allocations: 4 kB / 1.047 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3256, allocations: 11.98 kB / 1.047 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005946/0.3262, allocations: 0.5146 MB / 1.048 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3262, allocations: 4 kB / 1.048 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009188/0.3271, allocations: 295.8 kB / 1.048 GB, free: 11.26 MB / 0.8262 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.0006429/0.3278, allocations: 342.9 kB / 1.048 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001948/0.3298, allocations: 0.8775 MB / 1.049 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3298, allocations: 0 / 1.049 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.3301, allocations: 108.4 kB / 1.049 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.3309, allocations: 210.6 kB / 1.05 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.3335, allocations: 1.076 MB / 1.051 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.334, allocations: 0.9052 MB / 1.051 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004574/0.3345, allocations: 176.4 kB / 1.052 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3346, allocations: 59.34 kB / 1.052 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3346, allocations: 0 / 1.052 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of Templates: time 0.01775/0.3524, allocations: 11.52 MB / 1.063 GB, free: 12.08 MB / 0.8419 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 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)