Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.371/1.371, allocations: 288.4 MB / 303.6 MB, free: 8.035 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008177/0.0008177, allocations: 178.9 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.089/1.089, allocations: 205.4 MB / 0.631 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006473/0.000647, allocations: 106.2 kB / 0.7444 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003066, allocations: 12.25 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1366, allocations: 115.3 MB / 0.9802 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4638/0.6004, allocations: 227.4 MB / 1.202 GB, free: 156 kB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.6188, allocations: 20.66 MB / 1.222 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009138/0.6197, allocations: 48.31 kB / 1.222 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.6213, allocations: 0.6537 MB / 1.223 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.6236, allocations: 1.292 MB / 1.224 GB, free: 13.91 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.6265, allocations: 1.553 MB / 1.226 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002258/0.6288, allocations: 3.071 MB / 1.229 GB, free: 11 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.6299, allocations: 1.088 MB / 1.23 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.6314, allocations: 1.097 MB / 1.231 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007968/0.6322, allocations: 0.8092 MB / 1.232 GB, free: 8.16 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 7.2e-05/0.6323, allocations: 36 kB / 1.232 GB, free: 8.125 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.6347, allocations: 1.827 MB / 1.234 GB, free: 6.293 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.6349, allocations: 279 kB / 1.234 GB, free: 6.02 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.6354, allocations: 0.5382 MB / 1.234 GB, free: 5.473 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.6367, allocations: 1.687 MB / 1.236 GB, free: 3.781 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6367, allocations: 0 / 1.236 GB, free: 3.781 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6367, allocations: 4 kB / 1.236 GB, free: 3.777 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.6368, allocations: 0 / 1.236 GB, free: 3.777 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001336/0.6381, allocations: 1.231 MB / 1.237 GB, free: 2.492 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.6381, allocations: 15.97 kB / 1.237 GB, free: 2.477 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001332/0.6383, allocations: 143.5 kB / 1.237 GB, free: 2.328 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008325/0.6391, allocations: 230.3 kB / 1.238 GB, free: 2.102 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009761/0.6401, allocations: 0.8454 MB / 1.238 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.6402, allocations: 188.7 kB / 1.239 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.916e-05/0.6403, allocations: 95.94 kB / 1.239 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.6416, allocations: 0.9246 MB / 1.24 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.6416, allocations: 4 kB / 1.24 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.967e-05/0.6417, allocations: 36 kB / 1.24 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.6417, allocations: 20 kB / 1.24 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009321/0.6426, allocations: 0.6207 MB / 1.24 GB, free: 15.27 MB / 0.7761 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.003394/0.646, allocations: 4.443 MB / 1.245 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.6463, allocations: 190.7 kB / 1.245 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.6465, allocations: 144.8 kB / 1.245 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007519/0.6473, allocations: 1.025 MB / 1.246 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.6473, allocations: 30.56 kB / 1.246 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=24): time 1.242e-06/0.6473, allocations: 3.938 kB / 1.246 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.0007883/0.6481, allocations: 480.8 kB / 1.246 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/0.6481, allocations: 51.41 kB / 1.247 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.6492, allocations: 1.098 MB / 1.248 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.6493, allocations: 33.7 kB / 1.248 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.6496, allocations: 0.5079 MB / 1.248 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/0.6497, allocations: 82.84 kB / 1.248 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.6497, allocations: 4 kB / 1.248 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/0.6498, allocations: 330 kB / 1.249 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.65, allocations: 128.8 kB / 1.249 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.6503, allocations: 379.1 kB / 1.249 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004624/0.6508, allocations: 471.6 kB / 1.249 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.6508, allocations: 4 kB / 1.249 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007171/0.6515, allocations: 0.5314 MB / 1.25 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.6515, allocations: 11.94 kB / 1.25 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6516, allocations: 4 kB / 1.25 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6516, allocations: 16 kB / 1.25 GB, free: 4.461 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002984/0.6519, allocations: 87.83 kB / 1.25 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.281e-05/0.6519, allocations: 15.92 kB / 1.25 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/0.6525, allocations: 127.2 kB / 1.25 GB, free: 4.234 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.6526, allocations: 27.98 kB / 1.25 GB, free: 4.207 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002843/0.6528, allocations: 289.5 kB / 1.251 GB, free: 3.914 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.653, allocations: 110.6 kB / 1.251 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.6535, allocations: 416.3 kB / 1.251 GB, free: 3.383 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.6536, allocations: 4 kB / 1.251 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6536, allocations: 0 / 1.251 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.6536, allocations: 3.984 kB / 1.251 GB, free: 3.375 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.6553, allocations: 1.547 MB / 1.253 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6553, allocations: 4 kB / 1.253 GB, free: 1.715 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.6555, allocations: 43.86 kB / 1.253 GB, free: 1.672 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.6555, allocations: 8 kB / 1.253 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.6555, allocations: 11.98 kB / 1.253 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.6555, allocations: 8 kB / 1.253 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.6555, allocations: 7.938 kB / 1.253 GB, free: 1.637 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.656, allocations: 0.5778 MB / 1.253 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.6563, allocations: 235.7 kB / 1.253 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.172e-05/0.6564, allocations: 15.98 kB / 1.253 GB, free: 0.7227 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.6568, allocations: 27.89 kB / 1.253 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.6568, allocations: 36.12 kB / 1.253 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.6568, allocations: 12 kB / 1.254 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008043/0.6576, allocations: 0.7664 MB / 1.254 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6577, allocations: 0 / 1.254 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006596/0.6583, allocations: 287.5 kB / 1.255 GB, free: 15.59 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/0.6594, allocations: 1.339 MB / 1.256 GB, free: 14.18 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004598/0.6599, allocations: 327.5 kB / 1.256 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.6599, allocations: 4 kB / 1.256 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.6601, allocations: 138.1 kB / 1.256 GB, free: 13.73 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/0.6625, allocations: 0.5155 MB / 1.257 GB, free: 13.22 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006548/0.6691, allocations: 5.518 MB / 1.262 GB, free: 7.34 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005054/0.6696, allocations: 1.064 MB / 1.263 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005987/0.6702, allocations: 195.7 kB / 1.263 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004085/0.6706, allocations: 371.3 kB / 1.264 GB, free: 5.699 MB / 0.7917 GB Notification: Performance of SimCode: time 2.4e-07/0.6706, allocations: 0 / 1.264 GB, free: 5.699 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5974/1.268, allocations: 29.5 MB / 1.293 GB, free: 8.488 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/1.268, allocations: 258.5 kB / 1.293 GB, free: 8.148 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/3.635, allocations: 6.031 kB / 1.293 GB, free: 8.145 MB / 0.823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)