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.586/1.586, allocations: 252 MB / 267 MB, free: 10.97 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.001213/0.001213, allocations: 172.3 kB / 326.6 MB, free: 2.219 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.985/1.985, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0008383/0.0008384, allocations: 92.36 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 13.47 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2406, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.921/1.162, allocations: 227.6 MB / 1.123 GB, free: 3.184 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02416/1.186, allocations: 20.74 MB / 1.143 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002812/1.189, allocations: 45.81 kB / 1.143 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003084/1.192, allocations: 0.6458 MB / 1.144 GB, free: 2.699 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004906/1.197, allocations: 1.16 MB / 1.145 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006131/1.203, allocations: 1.341 MB / 1.146 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006142/1.209, allocations: 2.981 MB / 1.149 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/1.211, allocations: 0.9062 MB / 1.15 GB, free: 2.469 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/1.215, allocations: 1.055 MB / 1.151 GB, free: 2.457 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002362/1.217, allocations: 0.8115 MB / 1.152 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/1.217, allocations: 32.47 kB / 1.152 GB, free: 2.453 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00356/1.221, allocations: 0.904 MB / 1.153 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004839/1.222, allocations: 285.5 kB / 1.153 GB, free: 2.379 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008296/1.222, allocations: 260.5 kB / 1.153 GB, free: 18.35 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0027/1.225, allocations: 1.57 MB / 1.155 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/1.225, allocations: 0 / 1.155 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.955e-06/1.225, allocations: 0 / 1.155 GB, free: 17.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.382e-05/1.225, allocations: 0 / 1.155 GB, free: 17.51 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.002039/1.227, allocations: 1.25 MB / 1.156 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.227, allocations: 8.344 kB / 1.156 GB, free: 16.62 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001942/1.227, allocations: 144.1 kB / 1.156 GB, free: 16.56 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/1.229, allocations: 237.1 kB / 1.156 GB, free: 16.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/1.23, allocations: 0.826 MB / 1.157 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/1.23, allocations: 184.5 kB / 1.157 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/1.23, allocations: 91.19 kB / 1.157 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/1.232, allocations: 0.9206 MB / 1.158 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/1.232, allocations: 2.844 kB / 1.158 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.269e-05/1.232, allocations: 36.31 kB / 1.158 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.26e-05/1.232, allocations: 24.86 kB / 1.158 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/1.233, allocations: 0.6238 MB / 1.159 GB, free: 15.5 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.005226/1.238, allocations: 4.445 MB / 1.163 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/1.239, allocations: 190 kB / 1.163 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/1.239, allocations: 143.3 kB / 1.163 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/1.24, allocations: 1.021 MB / 1.164 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/1.24, allocations: 36.34 kB / 1.164 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=24): time 3.927e-06/1.24, allocations: 0 / 1.164 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24): time 0.00111/1.241, allocations: 460.8 kB / 1.165 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/1.241, allocations: 58.89 kB / 1.165 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.243, allocations: 1.105 MB / 1.166 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/1.243, allocations: 32.58 kB / 1.166 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003947/1.243, allocations: 0.5112 MB / 1.167 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.519e-05/1.243, allocations: 88.67 kB / 1.167 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/1.243, allocations: 13.66 kB / 1.167 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.243, allocations: 324 kB / 1.167 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/1.244, allocations: 126.9 kB / 1.167 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/1.244, allocations: 379.5 kB / 1.167 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/1.244, allocations: 184 kB / 1.168 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.244, allocations: 3.5 kB / 1.168 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008387/1.245, allocations: 0.536 MB / 1.168 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/1.245, allocations: 8.031 kB / 1.168 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.245, allocations: 8.719 kB / 1.168 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.245, allocations: 9.031 kB / 1.168 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/1.246, allocations: 90.73 kB / 1.168 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/1.246, allocations: 14.53 kB / 1.168 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/1.247, allocations: 122.7 kB / 1.168 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/1.247, allocations: 28.27 kB / 1.168 GB, free: 9.141 MB / 0.7136 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.0004091/1.247, allocations: 291.3 kB / 1.169 GB, free: 9.004 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/1.247, allocations: 99.84 kB / 1.169 GB, free: 8.953 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006972/1.248, allocations: 429.8 kB / 1.169 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.248, allocations: 5.719 kB / 1.169 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.248, allocations: 0 / 1.169 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/1.248, allocations: 0 / 1.169 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/1.25, allocations: 1.55 MB / 1.171 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.25, allocations: 8.547 kB / 1.171 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/1.25, allocations: 41.48 kB / 1.171 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/1.25, allocations: 7 kB / 1.171 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/1.25, allocations: 5.125 kB / 1.171 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/1.25, allocations: 12.59 kB / 1.171 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/1.251, allocations: 8 kB / 1.171 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/1.251, allocations: 0.5731 MB / 1.171 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/1.251, allocations: 247.9 kB / 1.172 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/1.252, allocations: 10.25 kB / 1.172 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004599/1.252, allocations: 33.03 kB / 1.172 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.435e-05/1.252, allocations: 25.44 kB / 1.172 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/1.252, allocations: 15.12 kB / 1.172 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009823/1.253, allocations: 0.7708 MB / 1.172 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/1.253, allocations: 2.969 kB / 1.172 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009383/1.254, allocations: 279.5 kB / 1.173 GB, free: 7.207 MB / 0.7136 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.001484/1.256, allocations: 1.323 MB / 1.174 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007155/1.256, allocations: 330.2 kB / 1.174 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.256, allocations: 0 / 1.174 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/1.257, allocations: 143.8 kB / 1.174 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.259, allocations: 482 kB / 1.175 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009148/1.268, allocations: 5.526 MB / 1.18 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007268/1.269, allocations: 1.063 MB / 1.181 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0009853/1.27, allocations: 199 kB / 1.182 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/1.27, allocations: 361.7 kB / 1.182 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of SimCode: time 1.834e-06/1.27, allocations: 0 / 1.182 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05462/1.325, allocations: 26.51 MB / 1.208 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/1.325, allocations: 248.4 kB / 1.208 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/4.157, allocations: 4 kB / 1.208 GB, free: 9.699 MB / 0.7448 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)