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.705/1.705, allocations: 288.4 MB / 303.3 MB, free: 8.203 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.001077/0.001077, allocations: 176.5 kB / 372 MB, free: 10.27 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.754/1.754, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0008208/0.0008207, allocations: 102.3 kB / 0.7441 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004683, allocations: 16 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2549, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9326/1.188, allocations: 227.4 MB / 1.202 GB, free: 460 kB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02765/1.215, allocations: 20.67 MB / 1.222 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00273/1.218, allocations: 47.66 kB / 1.222 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002907/1.221, allocations: 0.6353 MB / 1.223 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0063/1.227, allocations: 1.164 MB / 1.224 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006357/1.234, allocations: 1.342 MB / 1.225 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.006081/1.24, allocations: 2.99 MB / 1.228 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/1.242, allocations: 0.9071 MB / 1.229 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003177/1.245, allocations: 1.053 MB / 1.23 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/1.247, allocations: 0.8091 MB / 1.231 GB, free: 9.172 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000143/1.247, allocations: 36 kB / 1.231 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003255/1.25, allocations: 0.8962 MB / 1.232 GB, free: 8.238 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004842/1.251, allocations: 287 kB / 1.232 GB, free: 7.957 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006997/1.251, allocations: 261.1 kB / 1.232 GB, free: 7.695 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003224/1.255, allocations: 1.566 MB / 1.234 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/1.255, allocations: 8 kB / 1.234 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of FrontEnd: time 4.689e-06/1.255, allocations: 0 / 1.234 GB, free: 6.117 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.785e-05/1.255, allocations: 0 / 1.234 GB, free: 6.117 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.002156/1.257, allocations: 1.247 MB / 1.235 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.257, allocations: 8.031 kB / 1.235 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/1.257, allocations: 147.5 kB / 1.235 GB, free: 4.66 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/1.258, allocations: 222.3 kB / 1.235 GB, free: 4.441 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/1.26, allocations: 0.8264 MB / 1.236 GB, free: 3.57 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/1.26, allocations: 180.8 kB / 1.236 GB, free: 3.371 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.26, allocations: 99.95 kB / 1.236 GB, free: 3.273 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/1.262, allocations: 0.9207 MB / 1.237 GB, free: 2.316 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/1.262, allocations: 4 kB / 1.237 GB, free: 2.312 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.491e-05/1.262, allocations: 40 kB / 1.237 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/1.262, allocations: 23.94 kB / 1.237 GB, free: 2.25 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/1.263, allocations: 0.6207 MB / 1.238 GB, free: 1.629 MB / 0.7605 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.005324/1.268, allocations: 4.447 MB / 1.242 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003877/1.269, allocations: 182.7 kB / 1.242 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/1.269, allocations: 152.8 kB / 1.242 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/1.27, allocations: 1.013 MB / 1.243 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/1.27, allocations: 38.61 kB / 1.243 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=24): time 2.946e-06/1.27, allocations: 3.938 kB / 1.244 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.00117/1.271, allocations: 466 kB / 1.244 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.271, allocations: 55.41 kB / 1.244 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.273, allocations: 1.098 MB / 1.245 GB, free: 9.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/1.273, allocations: 33.7 kB / 1.245 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004391/1.273, allocations: 0.5157 MB / 1.246 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.366e-05/1.273, allocations: 86.75 kB / 1.246 GB, free: 8.875 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/1.273, allocations: 4 kB / 1.246 GB, free: 8.871 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.274, allocations: 322 kB / 1.246 GB, free: 8.551 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/1.274, allocations: 128.8 kB / 1.246 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/1.274, allocations: 379.1 kB / 1.246 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/1.275, allocations: 191.8 kB / 1.247 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.275, allocations: 0 / 1.247 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009722/1.276, allocations: 0.5311 MB / 1.247 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.276, allocations: 8 kB / 1.247 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.276, allocations: 11.95 kB / 1.247 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/1.276, allocations: 8 kB / 1.247 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/1.276, allocations: 87.84 kB / 1.247 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.413e-05/1.276, allocations: 19.92 kB / 1.247 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009779/1.277, allocations: 131.4 kB / 1.247 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/1.277, allocations: 27.94 kB / 1.247 GB, free: 6.93 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.0005304/1.278, allocations: 281.6 kB / 1.248 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/1.278, allocations: 98.78 kB / 1.248 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008604/1.279, allocations: 432.8 kB / 1.248 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.529e-05/1.279, allocations: 7.953 kB / 1.248 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.279, allocations: 0 / 1.248 GB, free: 6.113 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/1.279, allocations: 3.984 kB / 1.248 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/1.281, allocations: 1.55 MB / 1.25 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/1.281, allocations: 4 kB / 1.25 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/1.282, allocations: 43.91 kB / 1.25 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/1.282, allocations: 7.938 kB / 1.25 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/1.282, allocations: 12 kB / 1.25 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/1.282, allocations: 8.562 kB / 1.25 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.282, allocations: 15.89 kB / 1.25 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006788/1.282, allocations: 0.5588 MB / 1.25 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003673/1.283, allocations: 247.6 kB / 1.251 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/1.283, allocations: 12 kB / 1.251 GB, free: 3.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/1.283, allocations: 39.81 kB / 1.251 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/1.283, allocations: 27.88 kB / 1.251 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/1.283, allocations: 12 kB / 1.251 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001078/1.285, allocations: 0.7664 MB / 1.251 GB, free: 2.605 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.71e-07/1.285, allocations: 4 kB / 1.251 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001064/1.286, allocations: 287.4 kB / 1.252 GB, free: 2.32 MB / 0.7761 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.001731/1.287, allocations: 1.319 MB / 1.253 GB, free: 0.9258 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006801/1.288, allocations: 328.2 kB / 1.253 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.288, allocations: 0 / 1.253 GB, free: 0.6055 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002167/1.288, allocations: 137.2 kB / 1.253 GB, free: 484 kB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/1.291, allocations: 489.8 kB / 1.254 GB, free: 4 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009708/1.3, allocations: 5.522 MB / 1.259 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/1.301, allocations: 1.059 MB / 1.26 GB, free: 9.023 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0009654/1.302, allocations: 194.2 kB / 1.261 GB, free: 8.84 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000512/1.303, allocations: 367.3 kB / 1.261 GB, free: 8.484 MB / 0.7917 GB Notification: Performance of SimCode: time 1.542e-06/1.303, allocations: 0 / 1.261 GB, free: 8.484 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05763/1.36, allocations: 26.5 MB / 1.287 GB, free: 14.27 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/1.361, allocations: 252.4 kB / 1.287 GB, free: 13.94 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.027/4.388, allocations: 4 kB / 1.287 GB, free: 13.93 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)