Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_NegativePressureOrFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_Validation_NegativePressureOrFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009567/0.0009567, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001091/0.001091, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003531, allocations: 12 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8712, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.NegativePressureOrFlow): time 0.1962/1.067, allocations: 160.2 MB / 1.11 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01448/1.082, allocations: 9.253 MB / 1.119 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/1.084, allocations: 35.75 kB / 1.119 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002085/1.086, allocations: 0.6339 MB / 1.12 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006043/1.092, allocations: 1.772 MB / 1.121 GB, free: 3.789 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003757/1.096, allocations: 1.192 MB / 1.123 GB, free: 2.609 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003665/1.099, allocations: 1.703 MB / 1.124 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/1.101, allocations: 0.8249 MB / 1.125 GB, free: 72 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002454/1.103, allocations: 1.028 MB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008963/1.104, allocations: 0.5913 MB / 1.127 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/1.104, allocations: 48 kB / 1.127 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002647/1.107, allocations: 0.9867 MB / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.000393/1.107, allocations: 386.9 kB / 1.128 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/1.108, allocations: 281 kB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002173/1.11, allocations: 1.824 MB / 1.13 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/1.11, allocations: 0 / 1.13 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.166e-06/1.11, allocations: 0 / 1.13 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.714e-05/1.11, allocations: 0 / 1.13 GB, free: 10.92 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002731/1.113, allocations: 1.507 MB / 1.132 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.113, allocations: 12.03 kB / 1.132 GB, free: 9.348 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/1.113, allocations: 122.5 kB / 1.132 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/1.116, allocations: 0.49 MB / 1.132 GB, free: 8.727 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002285/1.118, allocations: 1.145 MB / 1.133 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/1.118, allocations: 65.81 kB / 1.133 GB, free: 7.461 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/1.118, allocations: 76 kB / 1.133 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/1.12, allocations: 0.9399 MB / 1.134 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/1.12, allocations: 7.984 kB / 1.134 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/1.12, allocations: 32 kB / 1.134 GB, free: 6.391 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/1.12, allocations: 37.92 kB / 1.134 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/1.122, allocations: 0.7886 MB / 1.135 GB, free: 5.566 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005339/1.127, allocations: 3.609 MB / 1.139 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/1.129, allocations: 0.6721 MB / 1.139 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.582e-05/1.129, allocations: 20.42 kB / 1.139 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/1.129, allocations: 39 kB / 1.139 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003627/1.129, allocations: 67.5 kB / 1.14 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=52): time 2.505e-06/1.129, allocations: 4 kB / 1.14 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of matching and sorting (n=54): time 0.004352/1.134, allocations: 1.942 MB / 1.141 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/1.134, allocations: 59.78 kB / 1.141 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/1.135, allocations: 0.926 MB / 1.142 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/1.135, allocations: 41.69 kB / 1.142 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/1.135, allocations: 0.5076 MB / 1.143 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/1.136, allocations: 185.2 kB / 1.143 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-05/1.136, allocations: 16 kB / 1.143 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001246/1.136, allocations: 337.9 kB / 1.143 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/1.136, allocations: 305.8 kB / 1.144 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007637/1.137, allocations: 490.4 kB / 1.144 GB, free: 11.98 MB / 0.9044 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (101325.0 = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005628/1.143, allocations: 1.41 MB / 1.146 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/1.143, allocations: 7.938 kB / 1.146 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001849/1.145, allocations: 0.9156 MB / 1.146 GB, free: 9.629 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006707/1.145, allocations: 1.659 MB / 1.148 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/1.145, allocations: 4 kB / 1.148 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/1.145, allocations: 11.95 kB / 1.148 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/1.147, allocations: 211.7 kB / 1.148 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006516/1.147, allocations: 0.6563 MB / 1.149 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009971/1.148, allocations: 76 kB / 1.149 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/1.148, allocations: 39.98 kB / 1.149 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/1.148, allocations: 7.938 kB / 1.149 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001474/1.15, allocations: 0.8253 MB / 1.15 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.15, allocations: 4 kB / 1.15 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.15, allocations: 11.98 kB / 1.15 GB, free: 5.977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009732/1.151, allocations: 215.8 kB / 1.15 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.151, allocations: 11.95 kB / 1.15 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/1.152, allocations: 79.78 kB / 1.15 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/1.152, allocations: 39.92 kB / 1.15 GB, free: 5.637 MB / 0.9044 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (82): * Single equations (assignments): 80 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007389/1.153, allocations: 424.9 kB / 1.151 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/1.153, allocations: 98.78 kB / 1.151 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/1.154, allocations: 0.7952 MB / 1.151 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/1.154, allocations: 4 kB / 1.152 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/1.154, allocations: 3.953 kB / 1.152 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001301/1.156, allocations: 0.7213 MB / 1.152 GB, free: 3.551 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003819/1.16, allocations: 2.124 MB / 1.154 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.16, allocations: 4.438 kB / 1.154 GB, free: 1.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/1.16, allocations: 139.8 kB / 1.154 GB, free: 1.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002036/1.16, allocations: 36.84 kB / 1.154 GB, free: 1.121 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.921e-05/1.161, allocations: 19.98 kB / 1.154 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003917/1.161, allocations: 0.5835 MB / 1.155 GB, free: 0.4922 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.161, allocations: 7.938 kB / 1.155 GB, free: 496 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/1.163, allocations: 1.405 MB / 1.156 GB, free: 14.94 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005036/1.164, allocations: 247.7 kB / 1.157 GB, free: 14.68 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/1.164, allocations: 16 kB / 1.157 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/1.165, allocations: 77.52 kB / 1.157 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.555e-05/1.165, allocations: 43.84 kB / 1.157 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.409e-05/1.165, allocations: 27.98 kB / 1.157 GB, free: 14.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009665/1.166, allocations: 0.6352 MB / 1.157 GB, free: 13.87 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/1.166, allocations: 4 kB / 1.157 GB, free: 13.87 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001701/1.168, allocations: 0.4961 MB / 1.158 GB, free: 13.37 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U,fan.filter.s[1],fan.filter.s[2]) * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003781/1.171, allocations: 3.122 MB / 1.161 GB, free: 10.13 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002947/1.174, allocations: 1.194 MB / 1.162 GB, free: 8.938 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.174, allocations: 4 kB / 1.162 GB, free: 8.934 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007487/1.175, allocations: 345.2 kB / 1.162 GB, free: 8.598 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/1.178, allocations: 0.5336 MB / 1.163 GB, free: 8.07 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/1.184, allocations: 5.936 MB / 1.169 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007842/1.184, allocations: 1.182 MB / 1.17 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001425/1.186, allocations: 336.7 kB / 1.17 GB, free: 420 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/1.187, allocations: 443.3 kB / 1.171 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of SimCode: time 1.793e-06/1.187, allocations: 7.938 kB / 1.171 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05485/1.241, allocations: 31.1 MB / 1.201 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/1.242, allocations: 252.5 kB / 1.201 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.71, allocations: 3.938 kB / 1.201 GB, free: 1.016 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_Validation_NegativePressureOrFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_Validation_NegativePressureOrFlow.fmu > Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.Validation.NegativePressureOrFlow_res.mat does not exist to compare? outputFormat=mat