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.001249/0.001249, allocations: 108 kB / 15.6 MB, free: 132 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.0009994/0.0009994, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.291/1.291, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 287.1 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 93.02 kB / 0.5953 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1319, allocations: 86.98 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.385/0.517, allocations: 148 MB / 0.8248 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003795/0.5208, allocations: 4.641 MB / 0.8293 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.521, allocations: 10.88 kB / 0.8293 GB, free: 0.8594 MB / 0.5606 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.0004519/0.5215, allocations: 168.5 kB / 0.8295 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002504/0.5217, allocations: 82.95 kB / 0.8296 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.5219, allocations: 67.77 kB / 0.8297 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.5222, allocations: 305.3 kB / 0.8299 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.5224, allocations: 153 kB / 0.8301 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.5226, allocations: 111.6 kB / 0.8302 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.5227, allocations: 150.1 kB / 0.8303 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.5228, allocations: 15.44 kB / 0.8304 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.261e-05/0.5228, allocations: 16.25 kB / 0.8304 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.728e-05/0.5229, allocations: 69.78 kB / 0.8304 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.3e-05/0.523, allocations: 101 kB / 0.8305 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.5231, allocations: 222.6 kB / 0.8307 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5232, allocations: 0 / 0.8307 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5232, allocations: 0 / 0.8307 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.5232, allocations: 1.375 kB / 0.8307 GB, free: 0.5312 MB / 0.5606 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.0004486/0.5236, allocations: 497.4 kB / 0.8312 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.5237, allocations: 9.281 kB / 0.8312 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.5237, allocations: 56.67 kB / 0.8313 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.5238, allocations: 28.78 kB / 0.8313 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.524, allocations: 259.5 kB / 0.8316 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.524, allocations: 17.06 kB / 0.8316 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.5241, allocations: 20 kB / 0.8316 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.5244, allocations: 308.7 kB / 0.8319 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5244, allocations: 5 kB / 0.8319 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.5245, allocations: 10.25 kB / 0.8319 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.5245, allocations: 6.688 kB / 0.8319 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.5247, allocations: 126.7 kB / 0.832 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.5258, allocations: 1.971 MB / 0.834 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/0.5258, allocations: 173.7 kB / 0.8341 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.5259, allocations: 80.14 kB / 0.8342 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.5259, allocations: 76.53 kB / 0.8343 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/0.5259, allocations: 105.8 kB / 0.8344 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.526, allocations: 0.9688 kB / 0.8344 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 8.022e-05/0.526, allocations: 61.23 kB / 0.8344 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/0.5261, allocations: 128.5 kB / 0.8346 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.5264, allocations: 329.6 kB / 0.8349 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.5264, allocations: 28 kB / 0.8349 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.923e-05/0.5265, allocations: 161.4 kB / 0.835 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.5265, allocations: 1.125 kB / 0.835 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.5266, allocations: 26.72 kB / 0.8351 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.5267, allocations: 343.7 kB / 0.8354 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.645e-05/0.5267, allocations: 4.219 kB / 0.8354 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.5268, allocations: 53.05 kB / 0.8355 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.5268, allocations: 71.95 kB / 0.8355 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5268, allocations: 0.9375 kB / 0.8355 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001618/0.527, allocations: 104.5 kB / 0.8356 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.527, allocations: 8.688 kB / 0.8356 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.527, allocations: 2.531 kB / 0.8356 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.5271, allocations: 6.156 kB / 0.8356 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.5271, allocations: 14.95 kB / 0.8357 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5271, allocations: 2.062 kB / 0.8357 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.233e-05/0.5272, allocations: 34.62 kB / 0.8357 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.5272, allocations: 3.844 kB / 0.8357 GB, free: 12.47 MB / 0.5762 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.0001183/0.5274, allocations: 218.1 kB / 0.8359 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.5274, allocations: 124 kB / 0.836 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.776e-05/0.5275, allocations: 134.4 kB / 0.8362 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/0.5276, allocations: 181.4 kB / 0.8363 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.477e-05/0.5276, allocations: 182.7 kB / 0.8365 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.706e-05/0.5277, allocations: 183.9 kB / 0.8367 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.528, allocations: 478.5 kB / 0.8371 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-05/0.528, allocations: 109.7 kB / 0.8372 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.5281, allocations: 102.3 kB / 0.8373 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.446e-05/0.5281, allocations: 182.5 kB / 0.8375 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.918e-05/0.5282, allocations: 181.3 kB / 0.8377 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.326e-05/0.5282, allocations: 181.2 kB / 0.8379 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.713e-05/0.5283, allocations: 183.7 kB / 0.838 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.5284, allocations: 329.2 kB / 0.8383 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.795e-05/0.5285, allocations: 206.1 kB / 0.8385 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.5286, allocations: 185.3 kB / 0.8387 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.5287, allocations: 112.2 kB / 0.8388 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/0.5288, allocations: 179.5 kB / 0.839 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.5288, allocations: 106 kB / 0.8391 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001998/0.529, allocations: 239.5 kB / 0.8393 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.529, allocations: 0 / 0.8393 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002605/0.5293, allocations: 23.97 kB / 0.8393 GB, free: 8.879 MB / 0.5762 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.0003467/0.5297, allocations: 0.8255 MB / 0.8402 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.7e-05/0.5297, allocations: 35.64 kB / 0.8402 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5298, allocations: 1.875 kB / 0.8402 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.5298, allocations: 4 kB / 0.8402 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.5304, allocations: 0.5177 MB / 0.8407 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.5326, allocations: 2.519 MB / 0.8432 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.5329, allocations: 0.7495 MB / 0.8439 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.535e-05/0.533, allocations: 25.42 kB / 0.8439 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.5331, allocations: 60.02 kB / 0.844 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.5331, allocations: 4 kB / 0.844 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.5527, allocations: 4.745 MB / 0.8486 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/7.419, allocations: 12.02 kB / 0.8486 GB, free: 3.57 MB / 0.5762 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)