Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.541/1.541, allocations: 252 MB / 267.3 MB, free: 10.83 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 182.4 kB / 327 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009845/0.0009844, allocations: 87.88 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 12.53 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2675, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8653/1.133, allocations: 243.6 MB / 1.139 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02617/1.159, allocations: 22.04 MB / 1.16 GB, free: 20 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002796/1.162, allocations: 46.59 kB / 1.16 GB, free: 20 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003129/1.165, allocations: 0.7868 MB / 1.161 GB, free: 8 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005845/1.171, allocations: 1.384 MB / 1.163 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.005796/1.177, allocations: 1.787 MB / 1.164 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005448/1.182, allocations: 3.521 MB / 1.168 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001805/1.184, allocations: 1.087 MB / 1.169 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003339/1.187, allocations: 1.147 MB / 1.17 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/1.189, allocations: 0.8478 MB / 1.171 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-05/1.189, allocations: 34.62 kB / 1.171 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004252/1.193, allocations: 1.874 MB / 1.173 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0003833/1.193, allocations: 288.5 kB / 1.173 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007238/1.194, allocations: 0.5606 MB / 1.173 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003516/1.198, allocations: 2.254 MB / 1.176 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/1.198, allocations: 0 / 1.176 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.824e-06/1.198, allocations: 0 / 1.176 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.35e-05/1.198, allocations: 4 kB / 1.176 GB, free: 10.62 MB / 0.7136 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.001893/1.2, allocations: 1.232 MB / 1.177 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.2, allocations: 8.969 kB / 1.177 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/1.2, allocations: 143 kB / 1.177 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/1.201, allocations: 237.6 kB / 1.177 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/1.202, allocations: 0.8421 MB / 1.178 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/1.202, allocations: 187 kB / 1.178 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/1.202, allocations: 93.03 kB / 1.178 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/1.204, allocations: 0.9375 MB / 1.179 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.204, allocations: 0 / 1.179 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.917e-05/1.204, allocations: 40.23 kB / 1.179 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/1.204, allocations: 24.66 kB / 1.179 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.205, allocations: 0.6301 MB / 1.18 GB, free: 7.668 MB / 0.7136 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.004608/1.21, allocations: 4.452 MB / 1.184 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/1.21, allocations: 182.7 kB / 1.184 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/1.211, allocations: 147.4 kB / 1.185 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/1.212, allocations: 1.02 MB / 1.186 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/1.212, allocations: 40.28 kB / 1.186 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=24): time 2.254e-06/1.212, allocations: 0 / 1.186 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.001004/1.213, allocations: 473.1 kB / 1.186 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/1.213, allocations: 53.94 kB / 1.186 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/1.214, allocations: 1.106 MB / 1.187 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/1.214, allocations: 33.02 kB / 1.187 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004059/1.215, allocations: 0.5098 MB / 1.188 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/1.215, allocations: 83.97 kB / 1.188 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/1.215, allocations: 9.906 kB / 1.188 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.215, allocations: 332.4 kB / 1.188 GB, free: 496 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/1.215, allocations: 123.1 kB / 1.188 GB, free: 436 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004254/1.215, allocations: 384.6 kB / 1.189 GB, free: 44 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/1.216, allocations: 482.7 kB / 1.189 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.216, allocations: 2.875 kB / 1.189 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008416/1.217, allocations: 0.53 MB / 1.19 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.217, allocations: 13.67 kB / 1.19 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.217, allocations: 6.719 kB / 1.19 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.217, allocations: 8.75 kB / 1.19 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/1.217, allocations: 87.75 kB / 1.19 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/1.217, allocations: 14.39 kB / 1.19 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/1.218, allocations: 131.5 kB / 1.19 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/1.218, allocations: 33.52 kB / 1.19 GB, free: 15.3 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000364/1.219, allocations: 281 kB / 1.19 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/1.219, allocations: 98.72 kB / 1.19 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/1.22, allocations: 429.9 kB / 1.191 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.22, allocations: 6.797 kB / 1.191 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.22, allocations: 0 / 1.191 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/1.22, allocations: 7.875 kB / 1.191 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/1.222, allocations: 1.55 MB / 1.192 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.222, allocations: 6.375 kB / 1.192 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/1.222, allocations: 42.19 kB / 1.192 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.222, allocations: 6.25 kB / 1.192 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/1.222, allocations: 10.34 kB / 1.192 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/1.222, allocations: 9.719 kB / 1.192 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/1.222, allocations: 7.469 kB / 1.192 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/1.223, allocations: 0.5675 MB / 1.193 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/1.223, allocations: 248.2 kB / 1.193 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/1.223, allocations: 6.5 kB / 1.193 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004591/1.223, allocations: 35.36 kB / 1.193 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/1.224, allocations: 38.06 kB / 1.193 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/1.224, allocations: 8.875 kB / 1.193 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001039/1.225, allocations: 0.7824 MB / 1.194 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.225, allocations: 0 / 1.194 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001066/1.226, allocations: 287.5 kB / 1.194 GB, free: 12.13 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/1.227, allocations: 1.343 MB / 1.195 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006814/1.228, allocations: 334.6 kB / 1.196 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.228, allocations: 0 / 1.196 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001969/1.228, allocations: 138.9 kB / 1.196 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002897/1.231, allocations: 0.525 MB / 1.196 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/1.244, allocations: 8.205 MB / 1.204 GB, free: 1.129 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009281/1.245, allocations: 1.071 MB / 1.205 GB, free: 28 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0009862/1.246, allocations: 195.8 kB / 1.206 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005866/1.247, allocations: 379.3 kB / 1.206 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of SimCode: time 1.122e-06/1.247, allocations: 0 / 1.206 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05255/1.299, allocations: 29.39 MB / 1.235 GB, free: 2.391 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002073/1.299, allocations: 274.8 kB / 1.235 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/4.34, allocations: 0 / 1.235 GB, free: 2.031 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1)