Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.001195/0.001195, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.1 MB / 222.4 MB, free: 4.602 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 2.13/2.13, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001386/0.001386, allocations: 71.66 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2269, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.7316/0.9585, allocations: 174 MB / 0.9534 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.9687, allocations: 9.512 MB / 0.9627 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.9691, allocations: 10.75 kB / 0.9627 GB, free: 464 kB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector 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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_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/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector 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/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006759/0.9699, allocations: 192.9 kB / 0.9629 GB, free: 384 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.9701, allocations: 86.19 kB / 0.963 GB, free: 348 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001787/0.9703, allocations: 71.33 kB / 0.963 GB, free: 340 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.9707, allocations: 316 kB / 0.9633 GB, free: 276 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003331/0.9711, allocations: 153.6 kB / 0.9635 GB, free: 244 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.9715, allocations: 158.4 kB / 0.9636 GB, free: 232 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.9716, allocations: 104.2 kB / 0.9637 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.066e-05/0.9717, allocations: 15.28 kB / 0.9637 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.026e-05/0.9717, allocations: 16.28 kB / 0.9638 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.232e-05/0.9718, allocations: 39.86 kB / 0.9638 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.9719, allocations: 101.5 kB / 0.9639 GB, free: 224 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.9722, allocations: 200.3 kB / 0.9641 GB, free: 212 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.9722, allocations: 0 / 0.9641 GB, free: 212 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9722, allocations: 1.031 kB / 0.9641 GB, free: 212 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.9722, allocations: 0 / 0.9641 GB, free: 212 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000566/0.9728, allocations: 478.1 kB / 0.9645 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.9728, allocations: 11.88 kB / 0.9646 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.816e-05/0.9729, allocations: 57.48 kB / 0.9646 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.9729, allocations: 27.38 kB / 0.9646 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.9732, allocations: 245.4 kB / 0.9649 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.9733, allocations: 19.06 kB / 0.9649 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.9733, allocations: 19.84 kB / 0.9649 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003513/0.9737, allocations: 235 kB / 0.9651 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.9737, allocations: 0 / 0.9651 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.9737, allocations: 15.33 kB / 0.9651 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.9737, allocations: 5.156 kB / 0.9652 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.9739, allocations: 88.25 kB / 0.9652 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.975, allocations: 1.439 MB / 0.9666 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.9751, allocations: 170 kB / 0.9668 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.851e-05/0.9751, allocations: 84.17 kB / 0.9669 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.9751, allocations: 78.7 kB / 0.967 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.9752, allocations: 109.8 kB / 0.9671 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9752, allocations: 1.094 kB / 0.9671 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.253e-05/0.9753, allocations: 46.52 kB / 0.9671 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.9754, allocations: 126.7 kB / 0.9672 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.9757, allocations: 293.3 kB / 0.9675 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.9757, allocations: 26.95 kB / 0.9675 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.9758, allocations: 141.2 kB / 0.9677 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.9759, allocations: 0 / 0.9677 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.459e-05/0.9759, allocations: 26.88 kB / 0.9677 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.9761, allocations: 336.7 kB / 0.968 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.612e-05/0.9761, allocations: 2.688 kB / 0.968 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.102e-05/0.9761, allocations: 33.48 kB / 0.9681 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.212e-05/0.9762, allocations: 37.44 kB / 0.9681 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.9762, allocations: 0 / 0.9681 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001587/0.9764, allocations: 70.83 kB / 0.9682 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.9764, allocations: 5.594 kB / 0.9682 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.9764, allocations: 2.422 kB / 0.9682 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.9764, allocations: 1.312 kB / 0.9682 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.9765, allocations: 6.719 kB / 0.9682 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.9765, allocations: 1.531 kB / 0.9682 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.348e-05/0.9766, allocations: 27.27 kB / 0.9682 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.9766, allocations: 5.594 kB / 0.9682 GB, free: 12.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001231/0.9767, allocations: 203.5 kB / 0.9684 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.913e-05/0.9768, allocations: 123.3 kB / 0.9685 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.596e-05/0.9769, allocations: 123.4 kB / 0.9686 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.131e-05/0.9769, allocations: 185.8 kB / 0.9688 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.826e-05/0.977, allocations: 184.2 kB / 0.969 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.72e-05/0.9771, allocations: 181.4 kB / 0.9692 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.9774, allocations: 468.7 kB / 0.9696 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.935e-05/0.9775, allocations: 107.2 kB / 0.9697 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.502e-05/0.9776, allocations: 106.8 kB / 0.9698 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.287e-05/0.9776, allocations: 180.3 kB / 0.97 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.238e-05/0.9777, allocations: 181.6 kB / 0.9702 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.313e-05/0.9778, allocations: 180 kB / 0.9703 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.199e-05/0.9779, allocations: 185.5 kB / 0.9705 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.9781, allocations: 329.2 kB / 0.9708 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.9782, allocations: 204.3 kB / 0.971 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.9783, allocations: 180.1 kB / 0.9712 GB, free: 9.715 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.9784, allocations: 113.2 kB / 0.9713 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.9785, allocations: 180.9 kB / 0.9715 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/0.9786, allocations: 104.4 kB / 0.9716 GB, free: 9.316 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002212/0.9788, allocations: 209.6 kB / 0.9718 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.893e-06/0.9788, allocations: 0 / 0.9718 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002811/0.9791, allocations: 26.47 kB / 0.9718 GB, free: 9.23 MB / 0.7325 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 () * Number of clocked 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 (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.0004654/0.9796, allocations: 0.8236 MB / 0.9726 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.626e-05/0.9796, allocations: 17.91 kB / 0.9726 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.9797, allocations: 0 / 0.9726 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.916e-06/0.9797, allocations: 1.094 kB / 0.9726 GB, free: 8.406 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008438/0.9805, allocations: 0.5278 MB / 0.9731 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.9828, allocations: 2.227 MB / 0.9753 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.9831, allocations: 0.7239 MB / 0.976 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.898e-05/0.9832, allocations: 28.97 kB / 0.976 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.9832, allocations: 55.39 kB / 0.9761 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/0.9832, allocations: 1.094 kB / 0.9761 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02232/1.006, allocations: 4.618 MB / 0.9806 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.929, allocations: 11.97 kB / 0.9806 GB, free: 5.156 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)