Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004951/0.004951, allocations: 98.78 kB / 15.73 MB, free: 6.062 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.001124/0.001124, allocations: 193.4 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8358/0.8358, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 65.98 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1317, allocations: 82.02 MB / 0.6752 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.4719/0.6037, allocations: 174.1 MB / 0.8451 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00803/0.6117, allocations: 9.537 MB / 0.8545 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002632/0.612, allocations: 11.81 kB / 0.8545 GB, free: 5.449 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/InletToAir.mo:80:3-83: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/BuildSysPro 3.6.0/IBPSA/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/BuildSysPro 3.6.0/IBPSA/Fluid/FMI/Conversion/InletToAir.mo:80:3-83: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/BuildSysPro 3.6.0/IBPSA/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.0005964/0.6127, allocations: 192 kB / 0.8547 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.6129, allocations: 91.67 kB / 0.8547 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001334/0.613, allocations: 71.72 kB / 0.8548 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.6133, allocations: 319.4 kB / 0.8551 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000246/0.6136, allocations: 149.1 kB / 0.8553 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.6138, allocations: 152.7 kB / 0.8554 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 9.662e-05/0.614, allocations: 104.6 kB / 0.8555 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.614, allocations: 16.94 kB / 0.8555 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 2.315e-05/0.614, allocations: 15.56 kB / 0.8555 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.614, allocations: 42.97 kB / 0.8556 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.6141, allocations: 96.48 kB / 0.8557 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.6143, allocations: 232.4 kB / 0.8559 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6143, allocations: 0 / 0.8559 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6144, allocations: 0 / 0.8559 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.6144, allocations: 0 / 0.8559 GB, free: 4.457 MB / 0.6231 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.0003936/0.6148, allocations: 478.9 kB / 0.8563 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.6148, allocations: 14.61 kB / 0.8564 GB, free: 3.984 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.717e-05/0.6149, allocations: 51.48 kB / 0.8564 GB, free: 3.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.6149, allocations: 28.64 kB / 0.8564 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.6152, allocations: 262.3 kB / 0.8567 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6152, allocations: 12.28 kB / 0.8567 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.6153, allocations: 20.66 kB / 0.8567 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.6155, allocations: 238 kB / 0.8569 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.6156, allocations: 0 / 0.8569 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.592e-05/0.6156, allocations: 10.41 kB / 0.857 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.6156, allocations: 5.344 kB / 0.857 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.6157, allocations: 87.75 kB / 0.857 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008543/0.6166, allocations: 1.449 MB / 0.8585 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/0.6166, allocations: 165.1 kB / 0.8586 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.6167, allocations: 86.52 kB / 0.8587 GB, free: 1.703 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.6167, allocations: 79.28 kB / 0.8588 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.6167, allocations: 113.8 kB / 0.8589 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.6168, allocations: 3.938 kB / 0.8589 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=0): time 7.242e-05/0.6168, allocations: 47.69 kB / 0.8589 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.6169, allocations: 126.7 kB / 0.8591 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.6171, allocations: 287.8 kB / 0.8593 GB, free: 1.129 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.6171, allocations: 25.7 kB / 0.8594 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.6172, allocations: 142.1 kB / 0.8595 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.6172, allocations: 2.781 kB / 0.8595 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.6173, allocations: 15.81 kB / 0.8595 GB, free: 0.9453 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.6174, allocations: 340 kB / 0.8598 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.6174, allocations: 6.656 kB / 0.8598 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-05/0.6174, allocations: 29.67 kB / 0.8599 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.6175, allocations: 35.81 kB / 0.8599 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6175, allocations: 0 / 0.8599 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001124/0.6176, allocations: 75.27 kB / 0.86 GB, free: 484 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.6176, allocations: 4.875 kB / 0.86 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.6176, allocations: 1.938 kB / 0.86 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.6176, allocations: 0 / 0.86 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.6177, allocations: 8.031 kB / 0.86 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6177, allocations: 10.48 kB / 0.86 GB, free: 476 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.6178, allocations: 24.59 kB / 0.86 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.6178, allocations: 2.875 kB / 0.86 GB, free: 456 kB / 0.6231 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.349e-05/0.6179, allocations: 204.6 kB / 0.8602 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.6179, allocations: 126.3 kB / 0.8603 GB, free: 128 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.618, allocations: 121.4 kB / 0.8605 GB, free: 8 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.763e-05/0.6181, allocations: 184.2 kB / 0.8606 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.961e-05/0.6181, allocations: 178.7 kB / 0.8608 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-05/0.6182, allocations: 188.3 kB / 0.861 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.6184, allocations: 473.2 kB / 0.8614 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/0.6184, allocations: 101 kB / 0.8615 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.6185, allocations: 104.9 kB / 0.8616 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.406e-05/0.6185, allocations: 184.3 kB / 0.8618 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.6186, allocations: 188.2 kB / 0.862 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.447e-05/0.6186, allocations: 180.3 kB / 0.8622 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.674e-05/0.6187, allocations: 180.4 kB / 0.8623 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.6188, allocations: 331.6 kB / 0.8626 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.6189, allocations: 209.9 kB / 0.8628 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/0.619, allocations: 180.2 kB / 0.863 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.07e-05/0.6191, allocations: 104.9 kB / 0.8631 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.6191, allocations: 176.3 kB / 0.8633 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.6192, allocations: 105 kB / 0.8634 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001606/0.6193, allocations: 210 kB / 0.8636 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6193, allocations: 0 / 0.8636 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002298/0.6196, allocations: 27.94 kB / 0.8636 GB, free: 12.57 MB / 0.6387 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.0003172/0.6199, allocations: 0.8319 MB / 0.8644 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 5.826e-05/0.62, allocations: 15.94 kB / 0.8644 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.62, allocations: 0 / 0.8644 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.62, allocations: 0 / 0.8644 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.6207, allocations: 0.5319 MB / 0.865 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.6224, allocations: 2.228 MB / 0.8671 GB, free: 8.84 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.6227, allocations: 0.7206 MB / 0.8678 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 6.83e-05/0.6227, allocations: 30.02 kB / 0.8679 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.6228, allocations: 59.42 kB / 0.8679 GB, free: 8 MB / 0.6387 GB Notification: Performance of SimCode: time 3.5e-07/0.6228, allocations: 0 / 0.8679 GB, free: 8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/0.6418, allocations: 4.703 MB / 0.8725 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.923/7.565, allocations: 4.062 kB / 0.8725 GB, free: 3.477 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1)