Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.0008389/0.0008391, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009366/0.0009366, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005754/0.0005755, allocations: 17.25 kB / 0.6738 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2612, allocations: 116.3 MB / 0.7874 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.86/1.121, allocations: 227.4 MB / 1.009 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03012/1.151, allocations: 20.67 MB / 1.03 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003409/1.155, allocations: 46.44 kB / 1.03 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003595/1.159, allocations: 0.6414 MB / 1.03 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005613/1.164, allocations: 1.163 MB / 1.031 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005987/1.17, allocations: 1.34 MB / 1.033 GB, free: 9.043 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00583/1.176, allocations: 2.992 MB / 1.036 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00226/1.178, allocations: 0.9184 MB / 1.037 GB, free: 6.73 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/1.182, allocations: 1.047 MB / 1.038 GB, free: 6.156 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001841/1.184, allocations: 0.8095 MB / 1.038 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.731e-05/1.184, allocations: 35.38 kB / 1.038 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003209/1.187, allocations: 0.9042 MB / 1.039 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004892/1.188, allocations: 279 kB / 1.04 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005371/1.188, allocations: 261.5 kB / 1.04 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002488/1.191, allocations: 1.578 MB / 1.041 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.191, allocations: 0 / 1.041 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.373e-06/1.191, allocations: 0 / 1.041 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.034e-05/1.191, allocations: 0 / 1.041 GB, free: 3.863 MB / 0.7481 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.001992/1.193, allocations: 1.239 MB / 1.043 GB, free: 2.879 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.193, allocations: 11.22 kB / 1.043 GB, free: 2.879 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002314/1.193, allocations: 149 kB / 1.043 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/1.194, allocations: 225.5 kB / 1.043 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/1.195, allocations: 0.8199 MB / 1.044 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/1.196, allocations: 187.7 kB / 1.044 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/1.196, allocations: 88.38 kB / 1.044 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/1.198, allocations: 0.9265 MB / 1.045 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/1.198, allocations: 3.469 kB / 1.045 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/1.198, allocations: 32.88 kB / 1.045 GB, free: 1.184 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/1.198, allocations: 27 kB / 1.045 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/1.199, allocations: 0.6302 MB / 1.046 GB, free: 0.8672 MB / 0.7481 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.005181/1.204, allocations: 4.438 MB / 1.05 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004225/1.205, allocations: 181.9 kB / 1.05 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002293/1.205, allocations: 148.3 kB / 1.05 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/1.206, allocations: 1.021 MB / 1.051 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/1.206, allocations: 34.66 kB / 1.051 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=24): time 3.105e-06/1.206, allocations: 11.88 kB / 1.051 GB, free: 11.38 MB / 0.7637 GB Notification: Performance of matching and sorting (n=24): time 0.001115/1.207, allocations: 464 kB / 1.052 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/1.207, allocations: 54.91 kB / 1.052 GB, free: 11.08 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.209, allocations: 1.094 MB / 1.053 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/1.209, allocations: 33.7 kB / 1.053 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/1.209, allocations: 0.5118 MB / 1.053 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.889e-05/1.209, allocations: 90.75 kB / 1.053 GB, free: 9.488 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/1.21, allocations: 8 kB / 1.053 GB, free: 9.48 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.21, allocations: 318 kB / 1.054 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/1.21, allocations: 128.8 kB / 1.054 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/1.21, allocations: 387.1 kB / 1.054 GB, free: 8.551 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/1.211, allocations: 183.8 kB / 1.054 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.211, allocations: 0 / 1.054 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008776/1.212, allocations: 0.5353 MB / 1.055 GB, free: 7.828 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.212, allocations: 10.81 kB / 1.055 GB, free: 7.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.212, allocations: 4 kB / 1.055 GB, free: 7.816 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/1.212, allocations: 15.95 kB / 1.055 GB, free: 7.801 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/1.212, allocations: 87.83 kB / 1.055 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/1.212, allocations: 11.94 kB / 1.055 GB, free: 7.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008445/1.213, allocations: 135.2 kB / 1.055 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.152e-05/1.213, allocations: 31.98 kB / 1.055 GB, free: 7.539 MB / 0.7637 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.0004509/1.213, allocations: 285.6 kB / 1.056 GB, free: 7.25 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/1.214, allocations: 98.78 kB / 1.056 GB, free: 7.152 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/1.214, allocations: 428.9 kB / 1.056 GB, free: 6.73 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/1.214, allocations: 0 / 1.056 GB, free: 6.73 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/1.214, allocations: 3.953 kB / 1.056 GB, free: 6.727 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/1.214, allocations: 3.984 kB / 1.056 GB, free: 6.723 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/1.217, allocations: 1.547 MB / 1.058 GB, free: 5.066 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/1.217, allocations: 7.938 kB / 1.058 GB, free: 5.059 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/1.217, allocations: 39.92 kB / 1.058 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/1.217, allocations: 8.281 kB / 1.058 GB, free: 5.012 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/1.217, allocations: 8 kB / 1.058 GB, free: 5.004 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/1.217, allocations: 11.98 kB / 1.058 GB, free: 4.992 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.217, allocations: 7.938 kB / 1.058 GB, free: 4.984 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/1.218, allocations: 0.5693 MB / 1.058 GB, free: 4.344 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003171/1.218, allocations: 243.6 kB / 1.058 GB, free: 4.086 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/1.218, allocations: 11.98 kB / 1.058 GB, free: 4.074 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004135/1.219, allocations: 35.83 kB / 1.058 GB, free: 4.039 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/1.219, allocations: 31.86 kB / 1.058 GB, free: 4.008 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/1.219, allocations: 12 kB / 1.058 GB, free: 3.996 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001268/1.22, allocations: 0.7664 MB / 1.059 GB, free: 3.223 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/1.22, allocations: 0 / 1.059 GB, free: 3.223 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001156/1.221, allocations: 291.4 kB / 1.06 GB, free: 2.938 MB / 0.7637 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.001773/1.223, allocations: 1.308 MB / 1.061 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0007229/1.224, allocations: 328.5 kB / 1.061 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.224, allocations: 3.938 kB / 1.061 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/1.224, allocations: 139.8 kB / 1.061 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002219/1.226, allocations: 480.8 kB / 1.062 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009497/1.236, allocations: 5.518 MB / 1.067 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/1.236, allocations: 1.063 MB / 1.068 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001107/1.238, allocations: 190.5 kB / 1.068 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/1.238, allocations: 367.3 kB / 1.069 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of SimCode: time 1.232e-06/1.238, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07776/1.316, allocations: 26.51 MB / 1.095 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002941/1.316, allocations: 242.3 kB / 1.095 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.864, allocations: 3.938 kB / 1.095 GB, free: 14.76 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) Environment - environmentSimulation: