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.001008/0.001008, 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.0009959/0.0009958, allocations: 194.6 kB / 16.14 MB, free: 6.66 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.471/1.471, allocations: 205.1 MB / 222 MB, free: 4.762 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.732/1.732, 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.00138/0.00138, allocations: 67.19 kB / 0.6709 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2122, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.5811/0.7934, allocations: 171.9 MB / 0.9506 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007474/0.8009, allocations: 9.52 MB / 0.9599 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003213/0.8012, allocations: 10.16 kB / 0.9599 GB, free: 5.473 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.0005385/0.8018, allocations: 155 kB / 0.9601 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.802, allocations: 85.7 kB / 0.9602 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.8022, allocations: 56.03 kB / 0.9602 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.8026, allocations: 383.4 kB / 0.9606 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002944/0.8029, allocations: 203.9 kB / 0.9608 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002725/0.8032, allocations: 148.8 kB / 0.9609 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.8033, allocations: 128.6 kB / 0.961 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.8034, allocations: 16.22 kB / 0.9611 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 4.162e-05/0.8034, allocations: 16.81 kB / 0.9611 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.855e-05/0.8035, allocations: 73.97 kB / 0.9611 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.8036, allocations: 122.8 kB / 0.9613 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.8039, allocations: 269.5 kB / 0.9615 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8039, allocations: 0.5312 kB / 0.9615 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8039, allocations: 0.5 kB / 0.9615 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8039, allocations: 0 / 0.9615 GB, free: 5.395 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.0006668/0.8046, allocations: 0.5153 MB / 0.962 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.8047, allocations: 9.25 kB / 0.962 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.352e-05/0.8047, allocations: 69 kB / 0.9621 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.8048, allocations: 35.06 kB / 0.9621 GB, free: 20.91 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.8051, allocations: 264.8 kB / 0.9624 GB, free: 20.69 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.8051, allocations: 18.34 kB / 0.9624 GB, free: 20.69 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.8051, allocations: 27.56 kB / 0.9624 GB, free: 20.69 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.8056, allocations: 319.1 kB / 0.9627 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.8056, allocations: 3.156 kB / 0.9627 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.8056, allocations: 10.12 kB / 0.9627 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.8057, allocations: 12.62 kB / 0.9628 GB, free: 20.55 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.8059, allocations: 154.1 kB / 0.9629 GB, free: 20.54 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.8071, allocations: 1.822 MB / 0.9647 GB, free: 19.05 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 6.036e-05/0.8072, allocations: 169.1 kB / 0.9648 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.8072, allocations: 80.14 kB / 0.9649 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.8072, allocations: 81.92 kB / 0.965 GB, free: 18.72 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.8073, allocations: 110.8 kB / 0.9651 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.8073, allocations: 0 / 0.9651 GB, free: 18.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 9.889e-05/0.8074, allocations: 53.7 kB / 0.9652 GB, free: 18.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.8074, allocations: 130.5 kB / 0.9653 GB, free: 18.42 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.8078, allocations: 369.9 kB / 0.9656 GB, free: 18.31 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.8078, allocations: 26.73 kB / 0.9657 GB, free: 18.28 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.935e-05/0.808, allocations: 168.6 kB / 0.9658 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/0.808, allocations: 1.094 kB / 0.9658 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.634e-05/0.808, allocations: 27.56 kB / 0.9658 GB, free: 18.16 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.8081, allocations: 335.5 kB / 0.9662 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.8081, allocations: 7.75 kB / 0.9662 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.8081, allocations: 34.8 kB / 0.9662 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.8082, allocations: 48.08 kB / 0.9663 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8082, allocations: 0 / 0.9663 GB, free: 17.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001329/0.8083, allocations: 93.03 kB / 0.9663 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.8084, allocations: 5.734 kB / 0.9663 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.8084, allocations: 5.531 kB / 0.9664 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.8084, allocations: 3.047 kB / 0.9664 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.8084, allocations: 11.92 kB / 0.9664 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.8085, allocations: 1.156 kB / 0.9664 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.565e-05/0.8085, allocations: 23.84 kB / 0.9664 GB, free: 17.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.8085, allocations: 2.875 kB / 0.9664 GB, free: 17.69 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.0001172/0.8087, allocations: 215.9 kB / 0.9666 GB, free: 17.5 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.8087, allocations: 137.2 kB / 0.9667 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.344e-05/0.8088, allocations: 129.7 kB / 0.9669 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-05/0.8089, allocations: 183.8 kB / 0.967 GB, free: 17.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.707e-05/0.8089, allocations: 180.9 kB / 0.9672 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.023e-05/0.809, allocations: 178.3 kB / 0.9674 GB, free: 16.72 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.8092, allocations: 492.5 kB / 0.9678 GB, free: 16.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.804e-05/0.8093, allocations: 109.9 kB / 0.9679 GB, free: 16.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.07e-05/0.8093, allocations: 107.8 kB / 0.9681 GB, free: 16.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.444e-05/0.8094, allocations: 181 kB / 0.9682 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.935e-05/0.8094, allocations: 184.3 kB / 0.9684 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-05/0.8095, allocations: 177.4 kB / 0.9686 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.818e-05/0.8095, allocations: 180.9 kB / 0.9687 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.8096, allocations: 332.4 kB / 0.9691 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.8097, allocations: 216.9 kB / 0.9693 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.289e-05/0.8098, allocations: 181.1 kB / 0.9694 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.8099, allocations: 108.2 kB / 0.9695 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.81, allocations: 185.7 kB / 0.9697 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.81, allocations: 105.1 kB / 0.9698 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002257/0.8102, allocations: 268.4 kB / 0.9701 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8102, allocations: 0 / 0.9701 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002427/0.8105, allocations: 30.31 kB / 0.9701 GB, free: 14.13 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.0003182/0.8108, allocations: 0.8364 MB / 0.9709 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.127e-05/0.8109, allocations: 11.59 kB / 0.9709 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.8109, allocations: 0 / 0.9709 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.8109, allocations: 1.125 kB / 0.9709 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.8117, allocations: 0.6225 MB / 0.9715 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.8141, allocations: 2.747 MB / 0.9742 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.8144, allocations: 0.7536 MB / 0.975 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.8145, allocations: 34.72 kB / 0.975 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.469e-05/0.8146, allocations: 77.17 kB / 0.9751 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of SimCode: time 3.11e-07/0.8146, allocations: 0 / 0.9751 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.091/1.905, allocations: 5.582 MB / 0.9805 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/1.906, allocations: 215 kB / 0.9807 GB, free: 9.707 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.809/4.714, allocations: 3.656 kB / 0.9807 GB, free: 9.707 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)