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.001482/0.001482, allocations: 105.4 kB / 15.7 MB, free: 24 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.001655/0.001655, allocations: 198.9 kB / 16.64 MB, free: 6.453 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.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.702/1.702, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.00149/0.00149, allocations: 68.64 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2332, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6711/0.9044, allocations: 174 MB / 0.9536 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008642/0.9131, allocations: 9.523 MB / 0.9629 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000484/0.9136, allocations: 10.38 kB / 0.9629 GB, free: 448 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 (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.0006836/0.9143, allocations: 190.3 kB / 0.9631 GB, free: 372 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.9147, allocations: 97.33 kB / 0.9632 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.9149, allocations: 67.97 kB / 0.9633 GB, free: 328 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.9153, allocations: 326.2 kB / 0.9636 GB, free: 260 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.9156, allocations: 207.8 kB / 0.9638 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003646/0.916, allocations: 166.2 kB / 0.9639 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001812/0.9162, allocations: 122.1 kB / 0.964 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.9163, allocations: 21.94 kB / 0.9641 GB, free: 204 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.511e-05/0.9163, allocations: 26.47 kB / 0.9641 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-05/0.9164, allocations: 74.41 kB / 0.9642 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.9166, allocations: 128.4 kB / 0.9643 GB, free: 200 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003113/0.9169, allocations: 288.7 kB / 0.9646 GB, free: 176 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.9169, allocations: 0 / 0.9646 GB, free: 176 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.9169, allocations: 0 / 0.9646 GB, free: 176 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.9169, allocations: 1.062 kB / 0.9646 GB, free: 176 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005464/0.9175, allocations: 0.5087 MB / 0.965 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.9175, allocations: 9 kB / 0.9651 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.34e-05/0.9176, allocations: 69.69 kB / 0.9651 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.9177, allocations: 38.41 kB / 0.9652 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003831/0.9181, allocations: 279.2 kB / 0.9654 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.9181, allocations: 22.61 kB / 0.9654 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.9181, allocations: 27.53 kB / 0.9655 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004411/0.9186, allocations: 325.9 kB / 0.9658 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.9186, allocations: 7.672 kB / 0.9658 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.9186, allocations: 13.94 kB / 0.9658 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.9187, allocations: 6.75 kB / 0.9658 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.9189, allocations: 143.8 kB / 0.966 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/0.9203, allocations: 1.81 MB / 0.9677 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.9204, allocations: 174.4 kB / 0.9679 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.532e-05/0.9204, allocations: 81.39 kB / 0.968 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.9205, allocations: 81.56 kB / 0.968 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.9205, allocations: 115.8 kB / 0.9682 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.9205, allocations: 0 / 0.9682 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 0.0001019/0.9206, allocations: 51.08 kB / 0.9682 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.274e-05/0.9207, allocations: 126.7 kB / 0.9683 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004496/0.9212, allocations: 375.3 kB / 0.9687 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.9212, allocations: 25.7 kB / 0.9687 GB, free: 13 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.9214, allocations: 169.9 kB / 0.9689 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-06/0.9214, allocations: 0 / 0.9689 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.9214, allocations: 21.03 kB / 0.9689 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.9216, allocations: 336.5 kB / 0.9692 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/0.9216, allocations: 8.562 kB / 0.9692 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.52e-05/0.9217, allocations: 37.19 kB / 0.9692 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.9218, allocations: 46.39 kB / 0.9693 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9218, allocations: 0 / 0.9693 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001922/0.922, allocations: 95.3 kB / 0.9694 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.922, allocations: 6.438 kB / 0.9694 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.922, allocations: 1.188 kB / 0.9694 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.922, allocations: 6.656 kB / 0.9694 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.107e-05/0.9221, allocations: 6.719 kB / 0.9694 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.9221, allocations: 4.938 kB / 0.9694 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.553e-05/0.9222, allocations: 21.84 kB / 0.9694 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.9222, allocations: 4.484 kB / 0.9694 GB, free: 12.41 MB / 0.7325 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.0001688/0.9224, allocations: 220.2 kB / 0.9696 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.9225, allocations: 136.1 kB / 0.9698 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.234e-05/0.9226, allocations: 132.4 kB / 0.9699 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.068e-05/0.9227, allocations: 180.2 kB / 0.9701 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.558e-05/0.9228, allocations: 181.8 kB / 0.9702 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.154e-05/0.9229, allocations: 184 kB / 0.9704 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.9233, allocations: 487 kB / 0.9709 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.297e-05/0.9234, allocations: 112.4 kB / 0.971 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.128e-05/0.9235, allocations: 108.9 kB / 0.9711 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.733e-05/0.9236, allocations: 177.4 kB / 0.9713 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-05/0.9237, allocations: 183 kB / 0.9714 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.94e-05/0.9238, allocations: 184.4 kB / 0.9716 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.381e-05/0.9238, allocations: 176.5 kB / 0.9718 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.924, allocations: 336.2 kB / 0.9721 GB, free: 9.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.9242, allocations: 218.5 kB / 0.9723 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.9243, allocations: 180.5 kB / 0.9725 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.9244, allocations: 102 kB / 0.9726 GB, free: 9.188 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.9245, allocations: 185.6 kB / 0.9728 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.9245, allocations: 106 kB / 0.9729 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000319/0.9249, allocations: 269.8 kB / 0.9731 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.022e-06/0.9249, allocations: 0 / 0.9731 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003/0.9252, allocations: 29.02 kB / 0.9731 GB, free: 8.809 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.000526/0.9257, allocations: 0.8422 MB / 0.974 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.9258, allocations: 16.53 kB / 0.974 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9258, allocations: 0 / 0.974 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.9258, allocations: 1.219 kB / 0.974 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009051/0.9267, allocations: 0.5488 MB / 0.9745 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.93, allocations: 2.685 MB / 0.9771 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.9305, allocations: 0.7579 MB / 0.9779 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001931/0.9307, allocations: 33.12 kB / 0.9779 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.9309, allocations: 72 kB / 0.978 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of SimCode: time 2.696e-06/0.9309, allocations: 0 / 0.978 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02401/0.9549, allocations: 5.856 MB / 0.9837 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/8.683, allocations: 4.562 kB / 0.9837 GB, free: 4.047 MB / 0.7325 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_8_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)