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.001158/0.001158, allocations: 98.95 kB / 16.35 MB, free: 5.824 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.001207/0.001208, allocations: 195.8 kB / 17.29 MB, free: 5.48 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.1 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.469/2.469, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 64.47 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3531, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.00387/0.357, allocations: 2.388 MB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00568/0.3627, allocations: 3.793 MB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.3629, allocations: 11.94 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005452/0.3684, allocations: 3.205 MB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007956/0.3692, allocations: 406.5 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.3705, allocations: 0.5146 MB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004569/0.3751, allocations: 3.304 MB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.3752, allocations: 44.72 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.3755, allocations: 207.3 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.3758, allocations: 207.1 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.3758, allocations: 16 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008452/0.3767, allocations: 0.5732 MB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.3769, allocations: 211.4 kB / 1.033 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.3771, allocations: 254.5 kB / 1.034 GB, free: 10.67 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.3782, allocations: 0.9541 MB / 1.034 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3782, allocations: 0 / 1.034 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.085e-06/0.3782, allocations: 0 / 1.034 GB, free: 9.711 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3782, allocations: 3.938 kB / 1.034 GB, free: 9.707 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.00149/0.3797, allocations: 0.9235 MB / 1.035 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.3798, allocations: 12.03 kB / 1.035 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007848/0.3806, allocations: 152.1 kB / 1.036 GB, free: 8.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.3822, allocations: 1.148 MB / 1.037 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3822, allocations: 11.98 kB / 1.037 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.3823, allocations: 12 kB / 1.037 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.3827, allocations: 177.4 kB / 1.037 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3827, allocations: 4 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.3828, allocations: 4 kB / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3828, allocations: 4 kB / 1.037 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005937/0.3834, allocations: 167.8 kB / 1.037 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.3847, allocations: 0.73 MB / 1.038 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008221/0.3856, allocations: 182.6 kB / 1.038 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002619/0.3858, allocations: 80.8 kB / 1.038 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3859, allocations: 4 kB / 1.038 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.3859, allocations: 30.56 kB / 1.038 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.3859, allocations: 3.938 kB / 1.038 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0009426/0.3869, allocations: 308.8 kB / 1.038 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.3869, allocations: 55.34 kB / 1.038 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008577/0.3878, allocations: 0.7773 MB / 1.039 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.3878, allocations: 25.7 kB / 1.039 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.388, allocations: 252.4 kB / 1.039 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.388, allocations: 35.64 kB / 1.039 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.3882, allocations: 158 kB / 1.04 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3884, allocations: 374.8 kB / 1.04 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/0.3889, allocations: 291.4 kB / 1.04 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005854/0.3895, allocations: 412.3 kB / 1.041 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.3904, allocations: 0.6207 MB / 1.041 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3904, allocations: 0 / 1.041 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001305/0.3918, allocations: 0.7928 MB / 1.042 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3918, allocations: 8 kB / 1.042 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.3918, allocations: 352 / 1.042 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3918, allocations: 12 kB / 1.042 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.3925, allocations: 123.9 kB / 1.042 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005321/0.3931, allocations: 0.6288 MB / 1.043 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/0.3935, allocations: 75.47 kB / 1.043 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.3935, allocations: 28.45 kB / 1.043 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000628/0.3942, allocations: 469.5 kB / 1.043 GB, free: 364 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005594/0.3947, allocations: 420.3 kB / 1.044 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008894/0.3956, allocations: 0.6002 MB / 1.044 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.3957, allocations: 4 kB / 1.044 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001242/0.3969, allocations: 0.7837 MB / 1.045 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.978e-06/0.3969, allocations: 4 kB / 1.045 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.3969, allocations: 4 kB / 1.045 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.3969, allocations: 4 kB / 1.045 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.3975, allocations: 131.8 kB / 1.045 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3975, allocations: 4 kB / 1.045 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.3979, allocations: 76.17 kB / 1.045 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.106e-05/0.398, allocations: 24 kB / 1.045 GB, free: 14.22 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.0001496/0.3981, allocations: 196.1 kB / 1.045 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.3982, allocations: 55.25 kB / 1.046 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/0.3989, allocations: 243 kB / 1.046 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3989, allocations: 3.984 kB / 1.046 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3989, allocations: 7.938 kB / 1.046 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3989, allocations: 3.984 kB / 1.046 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.3993, allocations: 385.3 kB / 1.046 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3993, allocations: 0 / 1.046 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.3996, allocations: 47.95 kB / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3996, allocations: 0 / 1.046 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3997, allocations: 8 kB / 1.046 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003354/0.4, allocations: 0.6093 MB / 1.047 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4, allocations: 0 / 1.047 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.4006, allocations: 330.8 kB / 1.047 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002094/0.4009, allocations: 160.3 kB / 1.047 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.4009, allocations: 12.2 kB / 1.047 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.4012, allocations: 19.98 kB / 1.047 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.4012, allocations: 11.98 kB / 1.047 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.4013, allocations: 7.938 kB / 1.047 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005958/0.4019, allocations: 0.5224 MB / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4019, allocations: 0 / 1.048 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008701/0.4028, allocations: 295.8 kB / 1.048 GB, free: 11.21 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.0006442/0.4034, allocations: 338.9 kB / 1.048 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.4056, allocations: 0.8775 MB / 1.049 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.4056, allocations: 0 / 1.049 GB, free: 10 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.406, allocations: 103.9 kB / 1.049 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.4069, allocations: 200.2 kB / 1.05 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.4095, allocations: 1.083 MB / 1.051 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.41, allocations: 0.909 MB / 1.051 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004663/0.4105, allocations: 176.4 kB / 1.052 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.4107, allocations: 43.44 kB / 1.052 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.4107, allocations: 3.938 kB / 1.052 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of Templates: time 0.01808/0.4288, allocations: 11.53 MB / 1.063 GB, free: 12.05 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 cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)