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.001575/0.001575, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001758/0.001758, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.457/1.457, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.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.685/2.685, allocations: 437.1 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002206, allocations: 64.86 kB / 0.8699 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3355, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.005223/0.3408, allocations: 2.374 MB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008513/0.3493, allocations: 3.811 MB / 1.024 GB, free: 4.367 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006603/0.3501, allocations: 4 kB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.007131/0.3573, allocations: 3.211 MB / 1.027 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.3585, allocations: 402.4 kB / 1.028 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.3598, allocations: 0.5085 MB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005064/0.3649, allocations: 3.308 MB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.3651, allocations: 40.73 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.3654, allocations: 203.3 kB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003323/0.3658, allocations: 207.1 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.594e-05/0.3658, allocations: 20 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.3669, allocations: 0.5654 MB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.3672, allocations: 211.4 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.3674, allocations: 254.5 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.3687, allocations: 0.9424 MB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3687, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 4.439e-06/0.3688, allocations: 0 / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.3688, allocations: 3.938 kB / 1.034 GB, free: 10.5 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.00166/0.3704, allocations: 0.9213 MB / 1.035 GB, free: 9.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.3705, allocations: 12.03 kB / 1.035 GB, free: 9.512 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008509/0.3714, allocations: 156.1 kB / 1.035 GB, free: 9.359 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.373, allocations: 1.14 MB / 1.036 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.707e-05/0.3731, allocations: 11.98 kB / 1.036 GB, free: 8.168 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.3731, allocations: 12 kB / 1.036 GB, free: 8.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/0.3736, allocations: 169.5 kB / 1.036 GB, free: 7.984 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3737, allocations: 7.984 kB / 1.036 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.3737, allocations: 4 kB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3737, allocations: 0 / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006616/0.3744, allocations: 175.8 kB / 1.036 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.3757, allocations: 0.7339 MB / 1.037 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009683/0.3767, allocations: 194.6 kB / 1.037 GB, free: 6.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.377, allocations: 84.67 kB / 1.037 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.3771, allocations: 7.922 kB / 1.037 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.3771, allocations: 34.56 kB / 1.037 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/0.3771, allocations: 0 / 1.037 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.00109/0.3782, allocations: 316.7 kB / 1.037 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.3783, allocations: 51.41 kB / 1.038 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.3793, allocations: 0.7812 MB / 1.038 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.3793, allocations: 25.7 kB / 1.038 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.3796, allocations: 252.4 kB / 1.039 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-05/0.3796, allocations: 35.64 kB / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.3798, allocations: 154 kB / 1.039 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.38, allocations: 378.7 kB / 1.039 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.3806, allocations: 299.3 kB / 1.039 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/0.3813, allocations: 412.3 kB / 1.04 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3824, allocations: 0.6208 MB / 1.04 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3824, allocations: 4 kB / 1.04 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001452/0.3838, allocations: 0.7889 MB / 1.041 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.3839, allocations: 8 kB / 1.041 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.3839, allocations: 12.28 kB / 1.041 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.3839, allocations: 4 kB / 1.041 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/0.3847, allocations: 131.8 kB / 1.041 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006285/0.3853, allocations: 0.6289 MB / 1.042 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.3858, allocations: 79.44 kB / 1.042 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.3858, allocations: 16 kB / 1.042 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007455/0.3866, allocations: 486 kB / 1.042 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006323/0.3872, allocations: 408.3 kB / 1.043 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001044/0.3883, allocations: 0.6041 MB / 1.043 GB, free: 0 / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.3883, allocations: 0 / 1.043 GB, free: 0 / 0.8106 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001436/0.3897, allocations: 0.7838 MB / 1.044 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.3898, allocations: 4 kB / 1.044 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3898, allocations: 4 kB / 1.044 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.3898, allocations: 4.562 kB / 1.044 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/0.3903, allocations: 135.9 kB / 1.044 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.3903, allocations: 8 kB / 1.044 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.3908, allocations: 68.05 kB / 1.044 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3908, allocations: 27.94 kB / 1.044 GB, free: 14.96 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.0001822/0.391, allocations: 200.1 kB / 1.045 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/0.3911, allocations: 63.19 kB / 1.045 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007653/0.3919, allocations: 242.9 kB / 1.045 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3919, allocations: 4 kB / 1.045 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.3919, allocations: 3.938 kB / 1.045 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3919, allocations: 0 / 1.045 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.3924, allocations: 385.3 kB / 1.045 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3924, allocations: 0 / 1.045 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.3928, allocations: 51.95 kB / 1.045 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3928, allocations: 0 / 1.045 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.3928, allocations: 4 kB / 1.045 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003958/0.3932, allocations: 0.6054 MB / 1.046 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3932, allocations: 0 / 1.046 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/0.3939, allocations: 346.7 kB / 1.046 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.3942, allocations: 156.3 kB / 1.046 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.3942, allocations: 4 kB / 1.046 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.3945, allocations: 23.97 kB / 1.046 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.3946, allocations: 11.98 kB / 1.047 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3946, allocations: 4 kB / 1.047 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006762/0.3953, allocations: 0.5263 MB / 1.047 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3953, allocations: 0 / 1.047 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0009278/0.3962, allocations: 295.8 kB / 1.047 GB, free: 11.95 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.0007359/0.397, allocations: 339.1 kB / 1.048 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.3992, allocations: 0.8927 MB / 1.048 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3992, allocations: 0 / 1.048 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003926/0.3996, allocations: 104.3 kB / 1.049 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009027/0.4005, allocations: 207.1 kB / 1.049 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.4034, allocations: 1.154 MB / 1.05 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005556/0.4039, allocations: 0.9013 MB / 1.051 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.4041, allocations: 55.41 kB / 1.051 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.4041, allocations: 3.938 kB / 1.051 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of Templates: time 0.01875/0.4229, allocations: 11.49 MB / 1.062 GB, free: 12.82 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 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow.pipe 2>&1)