Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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: 103.4 kB / 15.33 MB, free: 0.5078 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.001183/0.001183, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.283/1.283, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.65/1.65, allocations: 292.3 MB / 0.5486 GB, free: 13.65 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.001426/0.001426, allocations: 70.19 kB / 0.6711 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2067, allocations: 114.5 MB / 0.783 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5966/0.8034, allocations: 171.7 MB / 0.9507 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008806/0.8122, allocations: 9.432 MB / 0.9599 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004229/0.8127, allocations: 9.812 kB / 0.9599 GB, free: 5.672 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 (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/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 (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/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.0007265/0.8134, allocations: 170.8 kB / 0.9601 GB, free: 5.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002563/0.8137, allocations: 79.7 kB / 0.9601 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.8139, allocations: 53.7 kB / 0.9602 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004261/0.8143, allocations: 327.1 kB / 0.9605 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003801/0.8147, allocations: 212 kB / 0.9607 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003287/0.8151, allocations: 172.9 kB / 0.9609 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.8152, allocations: 125.1 kB / 0.961 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.8153, allocations: 22.5 kB / 0.961 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.373e-05/0.8153, allocations: 20.75 kB / 0.961 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.582e-05/0.8154, allocations: 73.66 kB / 0.9611 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.8156, allocations: 130.2 kB / 0.9612 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.8159, allocations: 275.1 kB / 0.9615 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8159, allocations: 0 / 0.9615 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8159, allocations: 0 / 0.9615 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.8159, allocations: 0 / 0.9615 GB, free: 5.598 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000778/0.8167, allocations: 0.5119 MB / 0.962 GB, free: 21.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.8167, allocations: 13.75 kB / 0.962 GB, free: 21.17 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.212e-05/0.8168, allocations: 64.5 kB / 0.9621 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.8169, allocations: 35.97 kB / 0.9621 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.8172, allocations: 266.8 kB / 0.9623 GB, free: 20.9 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.8172, allocations: 18.47 kB / 0.9624 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.8173, allocations: 27.59 kB / 0.9624 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.8178, allocations: 320.6 kB / 0.9627 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.8178, allocations: 4.031 kB / 0.9627 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.8179, allocations: 10.03 kB / 0.9627 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.8179, allocations: 11.47 kB / 0.9627 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002713/0.8182, allocations: 150.3 kB / 0.9629 GB, free: 20.75 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.8195, allocations: 1.818 MB / 0.9646 GB, free: 19.26 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.571e-05/0.8196, allocations: 169.3 kB / 0.9648 GB, free: 19.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.786e-05/0.8197, allocations: 86.02 kB / 0.9649 GB, free: 19 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.8197, allocations: 83.22 kB / 0.965 GB, free: 18.92 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.8197, allocations: 106.9 kB / 0.9651 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.8197, allocations: 0 / 0.9651 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001034/0.8199, allocations: 53.36 kB / 0.9651 GB, free: 18.77 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.8199, allocations: 130.8 kB / 0.9652 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.8204, allocations: 371.7 kB / 0.9656 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.8205, allocations: 25.7 kB / 0.9656 GB, free: 18.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.8206, allocations: 172.5 kB / 0.9658 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.8206, allocations: 0.5312 kB / 0.9658 GB, free: 18.38 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.8207, allocations: 20.7 kB / 0.9658 GB, free: 18.37 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8208, allocations: 335.6 kB / 0.9661 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.8208, allocations: 6.625 kB / 0.9661 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.8208, allocations: 37.52 kB / 0.9662 GB, free: 18.02 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.666e-05/0.8209, allocations: 47.77 kB / 0.9662 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8209, allocations: 0.5 kB / 0.9662 GB, free: 17.97 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001586/0.8211, allocations: 92.12 kB / 0.9663 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.8211, allocations: 10.97 kB / 0.9663 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8211, allocations: 2.156 kB / 0.9663 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.8211, allocations: 1.094 kB / 0.9663 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.8212, allocations: 10.38 kB / 0.9663 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.8212, allocations: 2.438 kB / 0.9663 GB, free: 17.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.8213, allocations: 23.38 kB / 0.9664 GB, free: 17.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.8213, allocations: 5.734 kB / 0.9664 GB, free: 17.9 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001365/0.8214, allocations: 219.1 kB / 0.9666 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.8215, allocations: 141.1 kB / 0.9667 GB, free: 17.58 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.418e-05/0.8216, allocations: 130.3 kB / 0.9668 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.674e-05/0.8217, allocations: 184.1 kB / 0.967 GB, free: 17.28 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.679e-05/0.8217, allocations: 177.8 kB / 0.9672 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.625e-05/0.8218, allocations: 182.7 kB / 0.9673 GB, free: 16.92 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002972/0.8221, allocations: 491.8 kB / 0.9678 GB, free: 16.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.432e-05/0.8221, allocations: 109.1 kB / 0.9679 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.8222, allocations: 108.2 kB / 0.968 GB, free: 16.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.862e-05/0.8223, allocations: 177.5 kB / 0.9682 GB, free: 16.08 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-05/0.8223, allocations: 183.6 kB / 0.9684 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.245e-05/0.8224, allocations: 177.2 kB / 0.9685 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.039e-05/0.8225, allocations: 185.7 kB / 0.9687 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.8226, allocations: 326.5 kB / 0.969 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.8227, allocations: 212.5 kB / 0.9692 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.385e-05/0.8228, allocations: 182.7 kB / 0.9694 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.823, allocations: 110.4 kB / 0.9695 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.823, allocations: 184 kB / 0.9697 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.8231, allocations: 109.6 kB / 0.9698 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002571/0.8233, allocations: 267.4 kB / 0.97 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8233, allocations: 0 / 0.97 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002515/0.8236, allocations: 27.28 kB / 0.9701 GB, free: 14.34 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.0004028/0.824, allocations: 0.837 MB / 0.9709 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 8.332e-05/0.8241, allocations: 15.7 kB / 0.9709 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8241, allocations: 0.9688 kB / 0.9709 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.8241, allocations: 0 / 0.9709 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008733/0.825, allocations: 0.5528 MB / 0.9714 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.8276, allocations: 2.741 MB / 0.9741 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.8279, allocations: 0.753 MB / 0.9748 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.8281, allocations: 37.36 kB / 0.9749 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.8282, allocations: 74.98 kB / 0.975 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of SimCode: time 6.21e-07/0.8282, allocations: 0 / 0.975 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07305/0.9012, allocations: 5.732 MB / 0.9806 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.9014, allocations: 219.9 kB / 0.9808 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.732, allocations: 5.234 kB / 0.9808 GB, free: 9.984 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)