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.001135/0.001135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001094/0.001094, allocations: 197.6 kB / 16.14 MB, free: 6.664 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.463/1.463, allocations: 205.1 MB / 222 MB, free: 4.75 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.695/1.695, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001401/0.001401, allocations: 67.34 kB / 0.6709 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2103, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.5861/0.7965, allocations: 171.8 MB / 0.9506 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01032/0.8069, allocations: 9.513 MB / 0.9599 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004425/0.8073, allocations: 14 kB / 0.9599 GB, free: 5.43 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.0007307/0.8081, allocations: 154.3 kB / 0.96 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.8085, allocations: 86.17 kB / 0.9601 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.8087, allocations: 53.92 kB / 0.9602 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005411/0.8093, allocations: 372.9 kB / 0.9605 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.8096, allocations: 148.9 kB / 0.9607 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004276/0.81, allocations: 145.1 kB / 0.9608 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.8103, allocations: 102.5 kB / 0.9609 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.902e-05/0.8103, allocations: 12.12 kB / 0.9609 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.802e-05/0.8103, allocations: 15.62 kB / 0.9609 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.8104, allocations: 37.23 kB / 0.961 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.8105, allocations: 91.64 kB / 0.9611 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.8108, allocations: 200 kB / 0.9612 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.8108, allocations: 0.5938 kB / 0.9612 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8108, allocations: 0 / 0.9612 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.8108, allocations: 0.625 kB / 0.9612 GB, free: 5.371 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.0007797/0.8116, allocations: 481.7 kB / 0.9617 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.8116, allocations: 9.719 kB / 0.9617 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.606e-05/0.8117, allocations: 52.84 kB / 0.9618 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.8118, allocations: 31.62 kB / 0.9618 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.8121, allocations: 244.3 kB / 0.962 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.8121, allocations: 15.41 kB / 0.962 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.8122, allocations: 19.84 kB / 0.9621 GB, free: 20.7 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.8126, allocations: 234.6 kB / 0.9623 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.8126, allocations: 1.125 kB / 0.9623 GB, free: 20.58 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.8126, allocations: 10.09 kB / 0.9623 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.8126, allocations: 6.547 kB / 0.9623 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.8128, allocations: 89.8 kB / 0.9624 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.8139, allocations: 1.447 MB / 0.9638 GB, free: 19.35 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 6.711e-05/0.814, allocations: 169.1 kB / 0.964 GB, free: 19.18 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.925e-05/0.8141, allocations: 80.83 kB / 0.964 GB, free: 19.1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.8141, allocations: 75.81 kB / 0.9641 GB, free: 19.02 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.8141, allocations: 110.5 kB / 0.9642 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.8141, allocations: 0.5 kB / 0.9642 GB, free: 18.91 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 9.43e-05/0.8142, allocations: 46.08 kB / 0.9643 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.8143, allocations: 131.2 kB / 0.9644 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.8147, allocations: 286.5 kB / 0.9647 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.8147, allocations: 26.3 kB / 0.9647 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.8148, allocations: 149 kB / 0.9648 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.8148, allocations: 9.641 kB / 0.9648 GB, free: 18.49 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.8148, allocations: 19.75 kB / 0.9649 GB, free: 18.47 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.8149, allocations: 336.4 kB / 0.9652 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.815, allocations: 2.719 kB / 0.9652 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.815, allocations: 29.48 kB / 0.9652 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.201e-05/0.815, allocations: 36.28 kB / 0.9652 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8151, allocations: 3.406 kB / 0.9652 GB, free: 18.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000154/0.8152, allocations: 66.41 kB / 0.9653 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8152, allocations: 5.719 kB / 0.9653 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8152, allocations: 0.625 kB / 0.9653 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.8153, allocations: 7.547 kB / 0.9653 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.334e-05/0.8153, allocations: 9.875 kB / 0.9653 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.8154, allocations: 1.625 kB / 0.9653 GB, free: 18.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.8154, allocations: 25.28 kB / 0.9654 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.8154, allocations: 2.094 kB / 0.9654 GB, free: 18.02 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 0.0001095/0.8156, allocations: 205.8 kB / 0.9656 GB, free: 17.83 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.326e-05/0.8156, allocations: 125.7 kB / 0.9657 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.357e-05/0.8157, allocations: 122.5 kB / 0.9658 GB, free: 17.6 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.815e-05/0.8158, allocations: 187.1 kB / 0.966 GB, free: 17.42 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.286e-05/0.8158, allocations: 177.3 kB / 0.9661 GB, free: 17.24 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.075e-05/0.8159, allocations: 180.3 kB / 0.9663 GB, free: 17.06 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002856/0.8162, allocations: 473.9 kB / 0.9668 GB, free: 16.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/0.8162, allocations: 105.4 kB / 0.9669 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.8162, allocations: 111.4 kB / 0.967 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.977e-05/0.8163, allocations: 177.3 kB / 0.9671 GB, free: 16.22 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.8164, allocations: 179.8 kB / 0.9673 GB, free: 16.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.184e-05/0.8164, allocations: 179.2 kB / 0.9675 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.737e-05/0.8165, allocations: 180.2 kB / 0.9677 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.8166, allocations: 337.3 kB / 0.968 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/0.8167, allocations: 197 kB / 0.9682 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.571e-05/0.8168, allocations: 181 kB / 0.9683 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.8169, allocations: 103.9 kB / 0.9684 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.8169, allocations: 185.1 kB / 0.9686 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.817, allocations: 109 kB / 0.9687 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002431/0.8172, allocations: 207 kB / 0.9689 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8172, allocations: 0 / 0.9689 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002669/0.8175, allocations: 26.62 kB / 0.9689 GB, free: 14.48 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.0003513/0.8179, allocations: 0.826 MB / 0.9697 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.505e-05/0.8179, allocations: 11.75 kB / 0.9698 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8179, allocations: 0 / 0.9698 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-06/0.818, allocations: 7.719 kB / 0.9698 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008247/0.8188, allocations: 0.5976 MB / 0.9703 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.8208, allocations: 2.275 MB / 0.9726 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.8211, allocations: 0.7233 MB / 0.9733 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.478e-05/0.8212, allocations: 26.94 kB / 0.9733 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.8213, allocations: 55.12 kB / 0.9733 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of SimCode: time 3.31e-07/0.8213, allocations: 0.9062 kB / 0.9734 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.116/1.937, allocations: 4.397 MB / 0.9776 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/1.938, allocations: 208.6 kB / 0.9778 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.811/4.749, allocations: 4 kB / 0.9778 GB, free: 10.19 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)