Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001517/0.001517, allocations: 180.9 kB / 366.7 MB, free: 1.707 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.901/1.901, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 87.31 kB / 0.74 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.011e-05/2.015e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7561/0.7562, allocations: 116.3 MB / 0.9733 GB, free: 76.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.535/6.292, allocations: 2.323 GB / 3.296 GB, free: 168.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/6.292, allocations: 83.95 kB / 3.297 GB, free: 168.8 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirNoC$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirNoC$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirWithC$bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirWithC$outlet$forward is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$bacPro_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$outlet$forward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.9062/7.198, allocations: 219.1 MB / 3.511 GB, free: 289.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.403e-06/7.198, allocations: 3.609 kB / 3.511 GB, free: 289.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 1.812e-05/7.198, allocations: 5.375 kB / 3.511 GB, free: 289.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.000486/7.199, allocations: 458.6 kB / 3.511 GB, free: 289.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/7.199, allocations: 9.156 kB / 3.511 GB, free: 289.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/7.199, allocations: 44.45 kB / 3.511 GB, free: 289.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/7.199, allocations: 263.1 kB / 3.511 GB, free: 289.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/7.199, allocations: 120.6 kB / 3.511 GB, free: 289.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.514e-05/7.2, allocations: 17.56 kB / 3.511 GB, free: 289.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002603/7.2, allocations: 130.6 kB / 3.512 GB, free: 289.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000349/7.2, allocations: 257.8 kB / 3.512 GB, free: 288.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/7.2, allocations: 0 / 3.512 GB, free: 288.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/7.2, allocations: 0.8438 kB / 3.512 GB, free: 288.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/7.2, allocations: 9.688 kB / 3.512 GB, free: 288.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/7.201, allocations: 1.519 MB / 3.513 GB, free: 287.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.937e-05/7.201, allocations: 173.5 kB / 3.513 GB, free: 287.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/7.201, allocations: 80.14 kB / 3.514 GB, free: 287.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/7.201, allocations: 79.17 kB / 3.514 GB, free: 287.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/7.201, allocations: 106.8 kB / 3.514 GB, free: 287.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/7.201, allocations: 0.9062 kB / 3.514 GB, free: 287.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 7.589e-05/7.201, allocations: 51.91 kB / 3.514 GB, free: 287.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/7.202, allocations: 52.53 kB / 3.514 GB, free: 287.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/7.202, allocations: 197.3 kB / 3.514 GB, free: 286.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.774e-06/7.202, allocations: 26.64 kB / 3.514 GB, free: 286.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.345e-05/7.202, allocations: 199 kB / 3.514 GB, free: 286.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-06/7.202, allocations: 4.953 kB / 3.514 GB, free: 286.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/7.202, allocations: 6.531 kB / 3.514 GB, free: 286.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/7.202, allocations: 326.1 kB / 3.515 GB, free: 286.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.077e-05/7.202, allocations: 36.28 kB / 3.515 GB, free: 286.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/7.202, allocations: 150.8 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/7.202, allocations: 63.78 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/7.202, allocations: 1.031 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003448/7.203, allocations: 182.5 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/7.203, allocations: 6.594 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/7.203, allocations: 5.5 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/7.203, allocations: 6.469 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/7.203, allocations: 45.23 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/7.203, allocations: 14.16 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/7.203, allocations: 21.09 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.903e-05/7.203, allocations: 10.53 kB / 3.515 GB, free: 286.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.277e-05/7.203, allocations: 187.4 kB / 3.515 GB, free: 286 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.262e-05/7.203, allocations: 157.1 kB / 3.515 GB, free: 285.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/7.203, allocations: 119.1 kB / 3.515 GB, free: 285.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/7.203, allocations: 110.4 kB / 3.516 GB, free: 285.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-05/7.203, allocations: 182.5 kB / 3.516 GB, free: 285.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.343e-05/7.203, allocations: 181.3 kB / 3.516 GB, free: 285.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-05/7.204, allocations: 184.3 kB / 3.516 GB, free: 285.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/7.204, allocations: 443 kB / 3.517 GB, free: 284.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/7.204, allocations: 105.9 kB / 3.517 GB, free: 284.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/7.204, allocations: 105.5 kB / 3.517 GB, free: 284.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.999e-05/7.204, allocations: 181.2 kB / 3.517 GB, free: 284.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/7.204, allocations: 181 kB / 3.517 GB, free: 284.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-05/7.204, allocations: 178 kB / 3.517 GB, free: 283.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.97e-05/7.204, allocations: 183.9 kB / 3.517 GB, free: 283.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.218e-05/7.204, allocations: 312.6 kB / 3.518 GB, free: 283.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/7.204, allocations: 203.4 kB / 3.518 GB, free: 283.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/7.204, allocations: 181.3 kB / 3.518 GB, free: 283 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.236e-05/7.204, allocations: 116.2 kB / 3.518 GB, free: 282.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/7.204, allocations: 184.4 kB / 3.518 GB, free: 282.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/7.204, allocations: 101 kB / 3.518 GB, free: 282.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001151/7.204, allocations: 152.5 kB / 3.519 GB, free: 282.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/7.204, allocations: 0 / 3.519 GB, free: 282.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005499/7.205, allocations: 102 kB / 3.519 GB, free: 282.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001509/7.206, allocations: 1.8 MB / 3.52 GB, free: 281.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001784/7.207, allocations: 69.3 kB / 3.521 GB, free: 281.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/7.207, allocations: 2.812 kB / 3.521 GB, free: 281.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/7.207, allocations: 0 / 3.521 GB, free: 281.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/7.207, allocations: 0.5357 MB / 3.521 GB, free: 280.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006102/7.208, allocations: 328.8 kB / 3.521 GB, free: 280.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/7.208, allocations: 0.7475 MB / 3.522 GB, free: 280 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001384/7.208, allocations: 24.56 kB / 3.522 GB, free: 280 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/7.208, allocations: 56.41 kB / 3.522 GB, free: 280 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/7.208, allocations: 1.375 kB / 3.522 GB, free: 280 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03815/7.246, allocations: 10.21 MB / 3.532 GB, free: 279.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/7.246, allocations: 140 kB / 3.532 GB, free: 279.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.136/9.382, allocations: 3.781 kB / 3.532 GB, free: 279.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1)