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.001171/0.001176, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001167/0.001167, allocations: 193.4 kB / 16.25 MB, free: 6.629 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.159/1.159, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.515/1.515, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001336/0.001336, allocations: 65.53 kB / 0.6711 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.16, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4506/0.6106, allocations: 171.7 MB / 0.9506 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006735/0.6173, allocations: 9.432 MB / 0.9598 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002996/0.6177, allocations: 8.625 kB / 0.9599 GB, free: 5.746 MB / 0.7325 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.0005727/0.6183, allocations: 162.8 kB / 0.96 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.6184, allocations: 85.88 kB / 0.9601 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.6186, allocations: 52.53 kB / 0.9601 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.6189, allocations: 317.1 kB / 0.9604 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.6191, allocations: 151.5 kB / 0.9606 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.6194, allocations: 159 kB / 0.9607 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.6195, allocations: 112.1 kB / 0.9608 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.6195, allocations: 15.78 kB / 0.9609 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.186e-05/0.6196, allocations: 15.31 kB / 0.9609 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.6196, allocations: 40.38 kB / 0.9609 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.132e-05/0.6197, allocations: 99.61 kB / 0.961 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.6199, allocations: 201.1 kB / 0.9612 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6199, allocations: 1.125 kB / 0.9612 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6199, allocations: 0 / 0.9612 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.6199, allocations: 0 / 0.9612 GB, free: 5.688 MB / 0.7325 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.0005617/0.6205, allocations: 472.6 kB / 0.9617 GB, free: 21.28 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.6205, allocations: 9.656 kB / 0.9617 GB, free: 21.28 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.6206, allocations: 59.75 kB / 0.9617 GB, free: 21.24 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.38e-05/0.6206, allocations: 28.28 kB / 0.9617 GB, free: 21.22 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.6208, allocations: 252.3 kB / 0.962 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.6209, allocations: 15.88 kB / 0.962 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.6209, allocations: 19.44 kB / 0.962 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.6212, allocations: 229.1 kB / 0.9622 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.6212, allocations: 0.75 kB / 0.9622 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.6212, allocations: 13.25 kB / 0.9623 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.6212, allocations: 7.984 kB / 0.9623 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.6214, allocations: 89.61 kB / 0.9623 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008061/0.6222, allocations: 1.433 MB / 0.9637 GB, free: 19.67 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.6223, allocations: 173 kB / 0.9639 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.286e-05/0.6223, allocations: 81.89 kB / 0.964 GB, free: 19.42 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.6223, allocations: 75.91 kB / 0.9641 GB, free: 19.34 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.6224, allocations: 110.9 kB / 0.9642 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.6224, allocations: 0 / 0.9642 GB, free: 19.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.092e-05/0.6224, allocations: 49.14 kB / 0.9642 GB, free: 19.19 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.6225, allocations: 127.2 kB / 0.9643 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.6228, allocations: 293.9 kB / 0.9646 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.647e-06/0.6228, allocations: 26.23 kB / 0.9646 GB, free: 18.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 8.023e-05/0.6229, allocations: 138.8 kB / 0.9648 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-06/0.6229, allocations: 8.734 kB / 0.9648 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.6229, allocations: 17.03 kB / 0.9648 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.623, allocations: 336.2 kB / 0.9651 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.076e-05/0.623, allocations: 2.281 kB / 0.9651 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.663e-05/0.623, allocations: 32.23 kB / 0.9651 GB, free: 18.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.586e-05/0.6231, allocations: 40.53 kB / 0.9652 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6231, allocations: 0.5 kB / 0.9652 GB, free: 18.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001204/0.6232, allocations: 71.62 kB / 0.9653 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.6232, allocations: 5.594 kB / 0.9653 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.6232, allocations: 1.844 kB / 0.9653 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.6233, allocations: 1.125 kB / 0.9653 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.894e-05/0.6233, allocations: 7.547 kB / 0.9653 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.6233, allocations: 5.156 kB / 0.9653 GB, free: 18.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.306e-05/0.6234, allocations: 21.53 kB / 0.9653 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.6234, allocations: 5.547 kB / 0.9653 GB, free: 18.35 MB / 0.7481 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 9.53e-05/0.6235, allocations: 208.2 kB / 0.9655 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.6236, allocations: 123 kB / 0.9656 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.272e-05/0.6236, allocations: 132.1 kB / 0.9657 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.236e-05/0.6237, allocations: 185.3 kB / 0.9659 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-05/0.6237, allocations: 185.7 kB / 0.9661 GB, free: 17.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.566e-05/0.6238, allocations: 177.4 kB / 0.9663 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.624, allocations: 472.7 kB / 0.9667 GB, free: 16.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/0.624, allocations: 102.8 kB / 0.9668 GB, free: 16.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.398e-05/0.6241, allocations: 104.5 kB / 0.9669 GB, free: 16.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.21e-05/0.6241, allocations: 185.6 kB / 0.9671 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.445e-05/0.6242, allocations: 182.5 kB / 0.9673 GB, free: 16.36 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.019e-05/0.6242, allocations: 180.3 kB / 0.9674 GB, free: 16.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-05/0.6243, allocations: 177.3 kB / 0.9676 GB, free: 16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.6244, allocations: 332.7 kB / 0.9679 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.6245, allocations: 203.8 kB / 0.9681 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.6245, allocations: 183.9 kB / 0.9683 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.6246, allocations: 104.5 kB / 0.9684 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.6247, allocations: 178.6 kB / 0.9686 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.6247, allocations: 110.6 kB / 0.9687 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001932/0.6249, allocations: 210.2 kB / 0.9689 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.6249, allocations: 0 / 0.9689 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000236/0.6251, allocations: 22.66 kB / 0.9689 GB, free: 14.8 MB / 0.7481 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.0002936/0.6254, allocations: 0.8251 MB / 0.9697 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 5.816e-05/0.6255, allocations: 14.12 kB / 0.9697 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6255, allocations: 0.5 kB / 0.9697 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.664e-06/0.6255, allocations: 0.5312 kB / 0.9697 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006991/0.6262, allocations: 0.5363 MB / 0.9702 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.6279, allocations: 2.271 MB / 0.9725 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.6281, allocations: 0.7213 MB / 0.9732 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.822e-05/0.6282, allocations: 22.89 kB / 0.9732 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.6283, allocations: 57.39 kB / 0.9732 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of SimCode: time 1.91e-07/0.6283, allocations: 0 / 0.9732 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3023/0.9306, allocations: 4.527 MB / 0.9777 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.9308, allocations: 209 kB / 0.9779 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.965, allocations: 0 / 0.9779 GB, free: 10.58 MB / 0.7481 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)