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.005284/0.005284, allocations: 94.72 kB / 15.73 MB, free: 6.039 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.001122/0.001122, allocations: 197.1 kB / 16.67 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.637/2.637, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.301, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003673/0.3047, allocations: 2.371 MB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00619/0.3109, allocations: 3.804 MB / 1.173 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005209/0.3115, allocations: 11.94 kB / 1.173 GB, free: 0.543 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.315, allocations: 1.044 MB / 1.174 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009507/0.3159, allocations: 430.3 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3171, allocations: 0.5138 MB / 1.175 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.005001/0.3221, allocations: 3.366 MB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.3222, allocations: 40.73 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.3226, allocations: 227.2 kB / 1.178 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003084/0.3229, allocations: 215.1 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.323, allocations: 24 kB / 1.178 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.324, allocations: 0.5732 MB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.3242, allocations: 215.4 kB / 1.179 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.3245, allocations: 254.5 kB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.3256, allocations: 0.9613 MB / 1.18 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3257, allocations: 3.938 kB / 1.18 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3257, allocations: 0 / 1.18 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3257, allocations: 0 / 1.18 GB, free: 8.688 MB / 0.9356 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.001575/0.3273, allocations: 0.9556 MB / 1.181 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3273, allocations: 12.02 kB / 1.181 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008241/0.3281, allocations: 152.4 kB / 1.181 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.3299, allocations: 1.176 MB / 1.183 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3299, allocations: 12 kB / 1.183 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.33, allocations: 8 kB / 1.183 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004935/0.3305, allocations: 177.4 kB / 1.183 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3305, allocations: 0 / 1.183 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.3305, allocations: 4 kB / 1.183 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3305, allocations: 4 kB / 1.183 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006268/0.3312, allocations: 175.8 kB / 1.183 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3324, allocations: 0.73 MB / 1.184 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008115/0.3332, allocations: 182.6 kB / 1.184 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002682/0.3335, allocations: 80.8 kB / 1.184 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.3336, allocations: 4 kB / 1.184 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3336, allocations: 38.5 kB / 1.184 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3336, allocations: 0 / 1.184 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0009753/0.3346, allocations: 305.2 kB / 1.184 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3346, allocations: 59.41 kB / 1.184 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008944/0.3355, allocations: 0.7813 MB / 1.185 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.3356, allocations: 29.7 kB / 1.185 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.3358, allocations: 252.7 kB / 1.185 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.3358, allocations: 39.73 kB / 1.185 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001994/0.336, allocations: 154.1 kB / 1.185 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3362, allocations: 374.8 kB / 1.186 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/0.3367, allocations: 295.4 kB / 1.186 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.3373, allocations: 408.3 kB / 1.187 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009661/0.3383, allocations: 0.6208 MB / 1.187 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3383, allocations: 384 / 1.187 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001495/0.3398, allocations: 0.797 MB / 1.188 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.3399, allocations: 8 kB / 1.188 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.3399, allocations: 4.094 kB / 1.188 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.3399, allocations: 8.25 kB / 1.188 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007405/0.3407, allocations: 127.9 kB / 1.188 GB, free: 472 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006778/0.3414, allocations: 0.6328 MB / 1.189 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/0.3419, allocations: 75.69 kB / 1.189 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.572e-05/0.342, allocations: 23.98 kB / 1.189 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007944/0.3428, allocations: 473.4 kB / 1.189 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006613/0.3435, allocations: 412.3 kB / 1.19 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009657/0.3444, allocations: 0.6002 MB / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.566e-06/0.3445, allocations: 0 / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001363/0.3458, allocations: 0.7881 MB / 1.191 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3458, allocations: 8 kB / 1.191 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.3459, allocations: 4 kB / 1.191 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.3459, allocations: 4 kB / 1.191 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00051/0.3464, allocations: 127.8 kB / 1.191 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3464, allocations: 8 kB / 1.191 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.3469, allocations: 71.7 kB / 1.191 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.3469, allocations: 20 kB / 1.191 GB, free: 13.12 MB / 0.9512 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.0001721/0.3471, allocations: 200.1 kB / 1.191 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3472, allocations: 59.58 kB / 1.191 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007292/0.348, allocations: 242.9 kB / 1.192 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.348, allocations: 8 kB / 1.192 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.348, allocations: 3.938 kB / 1.192 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.348, allocations: 3.984 kB / 1.192 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.3485, allocations: 381.4 kB / 1.192 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3485, allocations: 3.984 kB / 1.192 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.3488, allocations: 47.97 kB / 1.192 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.3488, allocations: 0 / 1.192 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3489, allocations: 11.98 kB / 1.192 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003598/0.3492, allocations: 0.6015 MB / 1.193 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3492, allocations: 0 / 1.193 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006742/0.3499, allocations: 347.2 kB / 1.193 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.3501, allocations: 160.6 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.17e-05/0.3502, allocations: 4 kB / 1.193 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.3505, allocations: 23.97 kB / 1.193 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.3506, allocations: 11.98 kB / 1.193 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3506, allocations: 4 kB / 1.193 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007123/0.3513, allocations: 0.5224 MB / 1.194 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3513, allocations: 0 / 1.194 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009595/0.3523, allocations: 299.7 kB / 1.194 GB, free: 10.11 MB / 0.9512 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.0008663/0.3531, allocations: 342.6 kB / 1.194 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002098/0.3553, allocations: 0.8809 MB / 1.195 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3553, allocations: 0 / 1.195 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.3557, allocations: 99.86 kB / 1.195 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008625/0.3565, allocations: 208.9 kB / 1.195 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.3592, allocations: 1.107 MB / 1.197 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000506/0.3597, allocations: 0.8974 MB / 1.197 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005076/0.3602, allocations: 176.4 kB / 1.198 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.3604, allocations: 55.42 kB / 1.198 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.3604, allocations: 0 / 1.198 GB, free: 6.301 MB / 0.9512 GB Notification: Performance of Templates: time 0.02225/0.3826, allocations: 11.61 MB / 1.209 GB, free: 10.81 MB / 0.9669 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)