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.006149/0.006149, allocations: 102.8 kB / 15.74 MB, free: 6.039 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.001553/0.001553, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 290.5 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.934/0.934, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 95.86 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1373, allocations: 86.98 MB / 0.7659 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.4084/0.5457, allocations: 148 MB / 0.9105 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004711/0.5505, allocations: 4.639 MB / 0.915 GB, free: 10.51 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/0.5507, allocations: 11.94 kB / 0.915 GB, free: 10.5 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.0004709/0.5512, allocations: 163.7 kB / 0.9152 GB, free: 10.34 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0003088/0.5515, allocations: 87.44 kB / 0.9153 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.5517, allocations: 71.86 kB / 0.9153 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.552, allocations: 308.3 kB / 0.9156 GB, free: 9.879 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.5523, allocations: 155.4 kB / 0.9158 GB, free: 9.73 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.5525, allocations: 111.6 kB / 0.9159 GB, free: 9.621 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.5527, allocations: 151.5 kB / 0.916 GB, free: 9.473 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.5527, allocations: 16 kB / 0.916 GB, free: 9.457 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 3.197e-05/0.5528, allocations: 19.94 kB / 0.916 GB, free: 9.438 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 7.913e-05/0.5529, allocations: 59.83 kB / 0.9161 GB, free: 9.379 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.553, allocations: 107.5 kB / 0.9162 GB, free: 9.273 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.5532, allocations: 232.5 kB / 0.9164 GB, free: 9.051 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.5532, allocations: 0 / 0.9164 GB, free: 9.051 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5532, allocations: 0 / 0.9164 GB, free: 9.051 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.5533, allocations: 0 / 0.9164 GB, free: 9.051 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.0004544/0.5537, allocations: 0.4911 MB / 0.9169 GB, free: 8.512 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5538, allocations: 8.031 kB / 0.9169 GB, free: 8.504 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.3e-05/0.5538, allocations: 62.67 kB / 0.917 GB, free: 8.434 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.5539, allocations: 33.42 kB / 0.917 GB, free: 8.402 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/0.5542, allocations: 270 kB / 0.9173 GB, free: 8.102 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.5543, allocations: 20.81 kB / 0.9173 GB, free: 8.082 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.5543, allocations: 16.56 kB / 0.9173 GB, free: 8.066 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.5547, allocations: 312.8 kB / 0.9176 GB, free: 7.707 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5547, allocations: 0 / 0.9176 GB, free: 7.707 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.5547, allocations: 8 kB / 0.9176 GB, free: 7.699 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.5547, allocations: 8 kB / 0.9176 GB, free: 7.691 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.5549, allocations: 129.2 kB / 0.9177 GB, free: 7.566 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.5561, allocations: 1.97 MB / 0.9197 GB, free: 5.488 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 7.459e-05/0.5562, allocations: 173.1 kB / 0.9198 GB, free: 5.309 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.5563, allocations: 80.14 kB / 0.9199 GB, free: 5.227 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.5563, allocations: 75.28 kB / 0.92 GB, free: 5.152 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.5563, allocations: 109.8 kB / 0.9201 GB, free: 5.035 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.5563, allocations: 4 kB / 0.9201 GB, free: 5.031 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 8.641e-05/0.5564, allocations: 61.44 kB / 0.9201 GB, free: 4.965 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.5565, allocations: 126.7 kB / 0.9203 GB, free: 4.828 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.5568, allocations: 324.5 kB / 0.9206 GB, free: 4.504 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5568, allocations: 25.7 kB / 0.9206 GB, free: 4.473 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.557, allocations: 167.8 kB / 0.9208 GB, free: 4.305 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.557, allocations: 0 / 0.9208 GB, free: 4.305 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.557, allocations: 21.72 kB / 0.9208 GB, free: 4.277 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5571, allocations: 338.8 kB / 0.9211 GB, free: 3.938 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.887e-05/0.5572, allocations: 7.984 kB / 0.9211 GB, free: 3.93 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.886e-05/0.5572, allocations: 50.88 kB / 0.9212 GB, free: 3.855 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.828e-05/0.5573, allocations: 74.73 kB / 0.9212 GB, free: 3.758 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5573, allocations: 0 / 0.9212 GB, free: 3.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001612/0.5575, allocations: 109.4 kB / 0.9213 GB, free: 3.645 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.5575, allocations: 8 kB / 0.9213 GB, free: 3.637 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.5575, allocations: 0 / 0.9213 GB, free: 3.637 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.5575, allocations: 7.938 kB / 0.9213 GB, free: 3.629 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.491e-05/0.5576, allocations: 15.98 kB / 0.9214 GB, free: 3.613 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.5576, allocations: 3.938 kB / 0.9214 GB, free: 3.609 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.036e-05/0.5577, allocations: 33.67 kB / 0.9214 GB, free: 3.578 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.5577, allocations: 4 kB / 0.9214 GB, free: 3.574 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.0001185/0.5578, allocations: 214 kB / 0.9216 GB, free: 3.355 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.5579, allocations: 124.8 kB / 0.9217 GB, free: 3.227 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.558, allocations: 137.9 kB / 0.9219 GB, free: 3.078 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.683e-05/0.558, allocations: 180.3 kB / 0.922 GB, free: 2.895 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.608e-05/0.5581, allocations: 184.1 kB / 0.9222 GB, free: 2.707 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-05/0.5581, allocations: 184.2 kB / 0.9224 GB, free: 2.52 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.5584, allocations: 473.1 kB / 0.9228 GB, free: 2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.674e-05/0.5585, allocations: 108.9 kB / 0.9229 GB, free: 1.887 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.5585, allocations: 105 kB / 0.923 GB, free: 1.777 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.748e-05/0.5586, allocations: 184.2 kB / 0.9232 GB, free: 1.59 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.5586, allocations: 188.1 kB / 0.9234 GB, free: 1.398 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.476e-05/0.5587, allocations: 184.4 kB / 0.9236 GB, free: 1.211 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-05/0.5588, allocations: 176.3 kB / 0.9237 GB, free: 1.031 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001332/0.5589, allocations: 335.6 kB / 0.9241 GB, free: 0.6797 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 9.942e-05/0.559, allocations: 201.9 kB / 0.9242 GB, free: 468 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.5591, allocations: 195.2 kB / 0.9244 GB, free: 268 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5592, allocations: 101 kB / 0.9245 GB, free: 160 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.5593, allocations: 180.3 kB / 0.9247 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.5593, allocations: 104.9 kB / 0.9248 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002202/0.5595, allocations: 235 kB / 0.925 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5595, allocations: 0 / 0.925 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0002684/0.5598, allocations: 31.98 kB / 0.9251 GB, free: 15.61 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.0003433/0.5602, allocations: 0.8281 MB / 0.9259 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 8.6e-05/0.5603, allocations: 35.8 kB / 0.9259 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5603, allocations: 0.5 kB / 0.9259 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.5603, allocations: 4 kB / 0.9259 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006702/0.561, allocations: 0.5185 MB / 0.9264 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.5632, allocations: 2.516 MB / 0.9289 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.5635, allocations: 0.744 MB / 0.9296 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 8.126e-05/0.5636, allocations: 26.28 kB / 0.9296 GB, free: 10.76 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.5637, allocations: 63.41 kB / 0.9297 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of SimCode: time 3.21e-07/0.5637, allocations: 0 / 0.9297 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.5833, allocations: 4.82 MB / 0.9344 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.284/7.867, allocations: 11.75 kB / 0.9344 GB, free: 6.062 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)