Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.004913/0.004913, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001208/0.001208, allocations: 194.3 kB / 16.67 MB, free: 5.977 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002582/0.002582, allocations: 287 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002838/0.002838, allocations: 92.12 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1621, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4568/0.6189, allocations: 148 MB / 0.9105 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.005563/0.6245, allocations: 4.647 MB / 0.915 GB, free: 10.52 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.6248, allocations: 11.94 kB / 0.915 GB, free: 10.51 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/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.0004855/0.6253, allocations: 155.7 kB / 0.9152 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003149/0.6256, allocations: 91.44 kB / 0.9153 GB, free: 10.27 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.6258, allocations: 67.86 kB / 0.9153 GB, free: 10.2 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0004085/0.6262, allocations: 310.7 kB / 0.9156 GB, free: 9.895 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002881/0.6265, allocations: 147.5 kB / 0.9158 GB, free: 9.754 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001883/0.6267, allocations: 111.6 kB / 0.9159 GB, free: 9.645 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.6269, allocations: 155.4 kB / 0.916 GB, free: 9.492 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.627, allocations: 19.94 kB / 0.916 GB, free: 9.473 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 3.606e-05/0.627, allocations: 16 kB / 0.916 GB, free: 9.457 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.6271, allocations: 67.77 kB / 0.9161 GB, free: 9.391 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.6272, allocations: 99.48 kB / 0.9162 GB, free: 9.293 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.6275, allocations: 240.4 kB / 0.9164 GB, free: 9.062 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6275, allocations: 4 kB / 0.9164 GB, free: 9.059 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6275, allocations: 0 / 0.9164 GB, free: 9.059 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.6276, allocations: 0 / 0.9164 GB, free: 9.059 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005331/0.6281, allocations: 494.9 kB / 0.9169 GB, free: 8.527 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.6281, allocations: 8.031 kB / 0.9169 GB, free: 8.52 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.479e-05/0.6282, allocations: 58.73 kB / 0.917 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.6283, allocations: 24.8 kB / 0.917 GB, free: 8.43 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003718/0.6286, allocations: 273.9 kB / 0.9173 GB, free: 8.125 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.6287, allocations: 20.81 kB / 0.9173 GB, free: 8.105 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.6287, allocations: 20.56 kB / 0.9173 GB, free: 8.086 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.6291, allocations: 312.8 kB / 0.9176 GB, free: 7.727 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6292, allocations: 0 / 0.9176 GB, free: 7.727 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.6292, allocations: 16 kB / 0.9176 GB, free: 7.711 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.6292, allocations: 4 kB / 0.9176 GB, free: 7.707 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.6294, allocations: 123.7 kB / 0.9177 GB, free: 7.586 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001478/0.6309, allocations: 1.966 MB / 0.9197 GB, free: 5.512 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 9.774e-05/0.631, allocations: 169.1 kB / 0.9198 GB, free: 5.336 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.793e-05/0.6311, allocations: 80.14 kB / 0.9199 GB, free: 5.254 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.606e-05/0.6311, allocations: 79.28 kB / 0.92 GB, free: 5.176 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.6312, allocations: 109.8 kB / 0.9201 GB, free: 5.059 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.6312, allocations: 3.938 kB / 0.9201 GB, free: 5.055 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 9.923e-05/0.6313, allocations: 61.42 kB / 0.9201 GB, free: 4.988 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.522e-05/0.6314, allocations: 126.7 kB / 0.9203 GB, free: 4.852 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.6317, allocations: 328.5 kB / 0.9206 GB, free: 4.523 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.6318, allocations: 25.7 kB / 0.9206 GB, free: 4.492 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.6319, allocations: 171.8 kB / 0.9208 GB, free: 4.32 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.6319, allocations: 0 / 0.9208 GB, free: 4.32 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/0.632, allocations: 25.72 kB / 0.9208 GB, free: 4.289 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6321, allocations: 330.8 kB / 0.9211 GB, free: 3.957 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.6322, allocations: 12 kB / 0.9211 GB, free: 3.945 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.385e-05/0.6322, allocations: 58.86 kB / 0.9212 GB, free: 3.863 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.28e-05/0.6323, allocations: 66.75 kB / 0.9212 GB, free: 3.773 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.6323, allocations: 0 / 0.9212 GB, free: 3.773 MB / 0.67 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001806/0.6325, allocations: 113.3 kB / 0.9213 GB, free: 3.656 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.6325, allocations: 4 kB / 0.9213 GB, free: 3.652 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.6325, allocations: 4.75 kB / 0.9213 GB, free: 3.648 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.6326, allocations: 8.188 kB / 0.9214 GB, free: 3.641 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.6326, allocations: 12 kB / 0.9214 GB, free: 3.629 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.6326, allocations: 4 kB / 0.9214 GB, free: 3.625 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.21e-05/0.6327, allocations: 35.66 kB / 0.9214 GB, free: 3.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.6327, allocations: 4 kB / 0.9214 GB, free: 3.586 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001511/0.6329, allocations: 209.7 kB / 0.9216 GB, free: 3.371 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.509e-05/0.633, allocations: 128.8 kB / 0.9217 GB, free: 3.238 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.6e-05/0.6331, allocations: 134.5 kB / 0.9219 GB, free: 3.094 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.415e-05/0.6332, allocations: 180.3 kB / 0.922 GB, free: 2.91 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.379e-05/0.6333, allocations: 184.3 kB / 0.9222 GB, free: 2.723 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.367e-05/0.6334, allocations: 180.2 kB / 0.9224 GB, free: 2.539 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.6337, allocations: 473.1 kB / 0.9228 GB, free: 2.02 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/0.6338, allocations: 110.7 kB / 0.9229 GB, free: 1.906 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.6338, allocations: 105 kB / 0.923 GB, free: 1.797 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.639e-05/0.6339, allocations: 184.2 kB / 0.9232 GB, free: 1.609 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.963e-05/0.634, allocations: 184.1 kB / 0.9234 GB, free: 1.422 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-05/0.6341, allocations: 180.5 kB / 0.9236 GB, free: 1.238 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.264e-05/0.6342, allocations: 180.2 kB / 0.9237 GB, free: 1.055 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.6344, allocations: 331.7 kB / 0.924 GB, free: 0.707 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.6345, allocations: 209.8 kB / 0.9242 GB, free: 488 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.6346, allocations: 188.2 kB / 0.9244 GB, free: 292 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.6348, allocations: 104.9 kB / 0.9245 GB, free: 180 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.089e-05/0.6349, allocations: 176.3 kB / 0.9247 GB, free: 16 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/0.6349, allocations: 105 kB / 0.9248 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00026/0.6352, allocations: 243 kB / 0.925 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6352, allocations: 0 / 0.925 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002655/0.6355, allocations: 28 kB / 0.9251 GB, free: 15.62 MB / 0.6856 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.000482/0.636, allocations: 0.8359 MB / 0.9259 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.636, allocations: 27.86 kB / 0.9259 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6361, allocations: 0 / 0.9259 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.6361, allocations: 3.938 kB / 0.9259 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007249/0.6368, allocations: 0.5269 MB / 0.9264 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.6395, allocations: 2.516 MB / 0.9289 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.6399, allocations: 0.744 MB / 0.9296 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 8.349e-05/0.64, allocations: 30.28 kB / 0.9296 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.6401, allocations: 55.42 kB / 0.9297 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of SimCode: time 2.71e-07/0.6401, allocations: 0 / 0.9297 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.6664, allocations: 4.82 MB / 0.9344 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.481, allocations: 12.38 kB / 0.9344 GB, free: 6.082 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)