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.001518/0.001518, allocations: 122 kB / 16.43 MB, free: 6.492 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.001723/0.001723, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.2 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.455/2.455, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002073, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8105/0.8126, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.NegativePressureOrFlow): time 0.003812/0.8164, allocations: 2.364 MB / 1.17 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006137/0.8226, allocations: 3.807 MB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/0.823, allocations: 7.938 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00298/0.826, allocations: 1.05 MB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.8271, allocations: 431 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/0.8282, allocations: 0.5157 MB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005175/0.8334, allocations: 3.361 MB / 1.179 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.8336, allocations: 40.72 kB / 1.179 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.8341, allocations: 239.2 kB / 1.179 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.8345, allocations: 219.1 kB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.593e-05/0.8346, allocations: 20 kB / 1.179 GB, free: 7.758 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000994/0.8356, allocations: 0.5733 MB / 1.18 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.8358, allocations: 219.3 kB / 1.18 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.8361, allocations: 254.5 kB / 1.18 GB, free: 6.719 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.8375, allocations: 0.9689 MB / 1.181 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.8375, allocations: 0 / 1.181 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8375, allocations: 0 / 1.181 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.8376, allocations: 0 / 1.181 GB, free: 5.746 MB / 0.9044 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.001782/0.8394, allocations: 0.9518 MB / 1.182 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.8394, allocations: 12.02 kB / 1.182 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008841/0.8403, allocations: 160.4 kB / 1.182 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.842, allocations: 1.168 MB / 1.183 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.842, allocations: 8 kB / 1.183 GB, free: 3.355 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.8421, allocations: 12 kB / 1.183 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/0.8425, allocations: 173.5 kB / 1.183 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.8426, allocations: 0 / 1.183 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.8426, allocations: 4 kB / 1.183 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.8426, allocations: 4 kB / 1.183 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006158/0.8432, allocations: 171.8 kB / 1.184 GB, free: 2.992 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.8446, allocations: 0.7224 MB / 1.184 GB, free: 2.219 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008374/0.8455, allocations: 194.5 kB / 1.185 GB, free: 2.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.8457, allocations: 80.8 kB / 1.185 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.8458, allocations: 0 / 1.185 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.8458, allocations: 34.56 kB / 1.185 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.8458, allocations: 0 / 1.185 GB, free: 1.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0009958/0.8468, allocations: 309.2 kB / 1.185 GB, free: 1.586 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.8469, allocations: 51.41 kB / 1.185 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/0.8478, allocations: 0.7852 MB / 1.186 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.8479, allocations: 29.7 kB / 1.186 GB, free: 0.6914 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.8481, allocations: 252.7 kB / 1.186 GB, free: 448 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.8481, allocations: 39.73 kB / 1.186 GB, free: 408 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.8483, allocations: 158.1 kB / 1.186 GB, free: 244 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.8485, allocations: 374.8 kB / 1.187 GB, free: 15.86 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.849, allocations: 291.4 kB / 1.187 GB, free: 15.58 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005976/0.8496, allocations: 416.3 kB / 1.187 GB, free: 15.13 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.8506, allocations: 0.6134 MB / 1.188 GB, free: 14.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.8506, allocations: 3.938 kB / 1.188 GB, free: 14.48 MB / 0.92 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001457/0.8521, allocations: 0.8011 MB / 1.189 GB, free: 13.67 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.8521, allocations: 12.12 kB / 1.189 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8521, allocations: 3.938 kB / 1.189 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.8522, allocations: 12 kB / 1.189 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007356/0.8529, allocations: 127.8 kB / 1.189 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005619/0.8535, allocations: 0.6212 MB / 1.189 GB, free: 12.88 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.854, allocations: 79.5 kB / 1.189 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.854, allocations: 35.91 kB / 1.189 GB, free: 12.76 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007902/0.8548, allocations: 473.5 kB / 1.19 GB, free: 12.29 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005772/0.8554, allocations: 412.3 kB / 1.19 GB, free: 11.86 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009435/0.8564, allocations: 0.6002 MB / 1.191 GB, free: 11.21 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.8564, allocations: 0 / 1.191 GB, free: 11.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001334/0.8577, allocations: 0.7841 MB / 1.192 GB, free: 10.42 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.8578, allocations: 8 kB / 1.192 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8578, allocations: 0 / 1.192 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.8578, allocations: 8 kB / 1.192 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.8583, allocations: 123.8 kB / 1.192 GB, free: 10.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.8584, allocations: 12.12 kB / 1.192 GB, free: 10.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/0.8588, allocations: 60.3 kB / 1.192 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/0.8589, allocations: 27.94 kB / 1.192 GB, free: 10.19 MB / 0.92 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.000165/0.8591, allocations: 196.1 kB / 1.192 GB, free: 9.988 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.8592, allocations: 63.58 kB / 1.192 GB, free: 9.926 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007055/0.8599, allocations: 242.9 kB / 1.192 GB, free: 9.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.8599, allocations: 0 / 1.192 GB, free: 9.68 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8599, allocations: 0 / 1.192 GB, free: 9.68 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.8601, allocations: 168.5 kB / 1.193 GB, free: 9.496 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/0.8602, allocations: 0 / 1.193 GB, free: 9.496 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.8605, allocations: 27.97 kB / 1.193 GB, free: 9.469 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.8606, allocations: 11.98 kB / 1.193 GB, free: 9.457 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008326/0.8614, allocations: 317.7 kB / 1.193 GB, free: 9.137 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009733/0.8624, allocations: 0.502 MB / 1.193 GB, free: 8.617 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002667/0.8627, allocations: 83.95 kB / 1.193 GB, free: 8.535 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0006428/0.8633, allocations: 0.5224 MB / 1.194 GB, free: 8.02 MB / 0.92 GB Notification: Performance of Backend: time 4.31e-07/0.8633, allocations: 4.062 kB / 1.194 GB, free: 8.016 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002931/0.8663, allocations: 1.109 MB / 1.195 GB, free: 6.898 MB / 0.92 GB Notification: Performance of SimCode: time 0.002097/0.8684, allocations: 1.558 MB / 1.197 GB, free: 5.297 MB / 0.92 GB Notification: Performance of Templates: time 0.02314/0.8915, allocations: 13 MB / 1.209 GB, free: 8.43 MB / 0.9356 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)