Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.004611/0.004611, allocations: 96.89 kB / 15.73 MB, free: 6 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.001127/0.001127, allocations: 189 kB / 16.67 MB, free: 5.93 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002182/0.002182, allocations: 290.6 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9579/0.9579, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 96.27 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1354, allocations: 86.97 MB / 0.7659 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.414/0.5495, allocations: 147.9 MB / 0.9104 GB, free: 15.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004416/0.5539, allocations: 4.64 MB / 0.9149 GB, free: 10.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.5541, allocations: 11.94 kB / 0.9149 GB, free: 10.56 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 (2) 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 (2) 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.0004513/0.5546, allocations: 171.7 kB / 0.9151 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.5548, allocations: 75.45 kB / 0.9152 GB, free: 10.32 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.5549, allocations: 59.92 kB / 0.9152 GB, free: 10.26 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.5553, allocations: 302.8 kB / 0.9155 GB, free: 9.965 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001999/0.5555, allocations: 108.8 kB / 0.9156 GB, free: 9.859 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.5556, allocations: 107.6 kB / 0.9157 GB, free: 9.754 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.5558, allocations: 147.4 kB / 0.9159 GB, free: 9.609 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.5558, allocations: 8 kB / 0.9159 GB, free: 9.602 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.5559, allocations: 12 kB / 0.9159 GB, free: 9.59 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.5559, allocations: 27.86 kB / 0.9159 GB, free: 9.562 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.556, allocations: 79.55 kB / 0.916 GB, free: 9.484 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.5562, allocations: 156.8 kB / 0.9161 GB, free: 9.336 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5562, allocations: 7.984 kB / 0.9161 GB, free: 9.328 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5562, allocations: 0 / 0.9161 GB, free: 9.328 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.5562, allocations: 0 / 0.9161 GB, free: 9.328 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003796/0.5566, allocations: 446.5 kB / 0.9166 GB, free: 8.844 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.5566, allocations: 15.97 kB / 0.9166 GB, free: 8.828 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.252e-05/0.5567, allocations: 46.73 kB / 0.9166 GB, free: 8.773 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.5567, allocations: 16.84 kB / 0.9166 GB, free: 8.758 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.557, allocations: 263.2 kB / 0.9169 GB, free: 8.465 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.557, allocations: 8.375 kB / 0.9169 GB, free: 8.457 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.5571, allocations: 19.94 kB / 0.9169 GB, free: 8.438 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.5573, allocations: 213.1 kB / 0.9171 GB, free: 8.184 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.5573, allocations: 0 / 0.9171 GB, free: 8.184 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.5574, allocations: 4 kB / 0.9171 GB, free: 8.18 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.5574, allocations: 8 kB / 0.9171 GB, free: 8.172 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.5575, allocations: 67.78 kB / 0.9172 GB, free: 8.105 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.5584, allocations: 1.59 MB / 0.9188 GB, free: 6.418 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 7.469e-05/0.5585, allocations: 173 kB / 0.9189 GB, free: 6.238 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.5585, allocations: 80.14 kB / 0.919 GB, free: 6.156 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.5586, allocations: 83.28 kB / 0.9191 GB, free: 6.074 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.5586, allocations: 109.8 kB / 0.9192 GB, free: 5.957 MB / 0.67 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5586, allocations: 0 / 0.9192 GB, free: 5.957 MB / 0.67 GB Notification: Performance of matching and sorting (n=0): time 7.163e-05/0.5587, allocations: 45.56 kB / 0.9192 GB, free: 5.906 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.5587, allocations: 126.7 kB / 0.9193 GB, free: 5.77 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002286/0.559, allocations: 254.6 kB / 0.9196 GB, free: 5.52 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.559, allocations: 29.7 kB / 0.9196 GB, free: 5.484 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.5591, allocations: 139.9 kB / 0.9197 GB, free: 5.344 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.5591, allocations: 4 kB / 0.9198 GB, free: 5.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.5591, allocations: 21.72 kB / 0.9198 GB, free: 5.312 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.5592, allocations: 322.8 kB / 0.9201 GB, free: 4.988 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.5593, allocations: 11.98 kB / 0.9201 GB, free: 4.977 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.5593, allocations: 51.58 kB / 0.9201 GB, free: 4.906 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.539e-05/0.5594, allocations: 61.88 kB / 0.9202 GB, free: 4.824 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5594, allocations: 4 kB / 0.9202 GB, free: 4.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001417/0.5595, allocations: 93.34 kB / 0.9203 GB, free: 4.723 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.5595, allocations: 4 kB / 0.9203 GB, free: 4.719 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5595, allocations: 4 kB / 0.9203 GB, free: 4.715 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.5596, allocations: 1.188 kB / 0.9203 GB, free: 4.715 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.587e-05/0.5596, allocations: 12 kB / 0.9203 GB, free: 4.703 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.5596, allocations: 4.156 kB / 0.9203 GB, free: 4.699 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.257e-05/0.5597, allocations: 35.81 kB / 0.9204 GB, free: 4.664 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.5597, allocations: 7.938 kB / 0.9204 GB, free: 4.656 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.45e-05/0.5598, allocations: 197.7 kB / 0.9205 GB, free: 4.453 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.5599, allocations: 120.9 kB / 0.9207 GB, free: 4.328 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.06e-05/0.56, allocations: 125.8 kB / 0.9208 GB, free: 4.191 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.731e-05/0.56, allocations: 176.3 kB / 0.921 GB, free: 4.012 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.565e-05/0.5601, allocations: 184.2 kB / 0.9211 GB, free: 3.824 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.462e-05/0.5602, allocations: 184.3 kB / 0.9213 GB, free: 3.637 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.5604, allocations: 461 kB / 0.9217 GB, free: 3.133 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-05/0.5605, allocations: 104.9 kB / 0.9218 GB, free: 3.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.5605, allocations: 105 kB / 0.9219 GB, free: 2.914 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.558e-05/0.5606, allocations: 188.2 kB / 0.9221 GB, free: 2.723 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.5606, allocations: 176.3 kB / 0.9223 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.171e-05/0.5607, allocations: 176.3 kB / 0.9225 GB, free: 2.363 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-05/0.5607, allocations: 184.2 kB / 0.9226 GB, free: 2.176 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.5609, allocations: 331.8 kB / 0.9229 GB, free: 1.828 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/0.5609, allocations: 198 kB / 0.9231 GB, free: 1.609 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.536e-05/0.561, allocations: 184.2 kB / 0.9233 GB, free: 1.422 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.01e-05/0.5611, allocations: 104.9 kB / 0.9234 GB, free: 1.312 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.5612, allocations: 176.3 kB / 0.9236 GB, free: 1.133 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.595e-05/0.5612, allocations: 104.9 kB / 0.9237 GB, free: 1.023 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000147/0.5614, allocations: 186 kB / 0.9239 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5614, allocations: 0 / 0.9239 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002507/0.5616, allocations: 20 kB / 0.9239 GB, free: 0.8242 MB / 0.67 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.000347/0.562, allocations: 0.8281 MB / 0.9247 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 6.933e-05/0.5621, allocations: 27.92 kB / 0.9247 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5621, allocations: 0 / 0.9247 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 3.386e-06/0.5621, allocations: 7.938 kB / 0.9247 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006131/0.5627, allocations: 0.4982 MB / 0.9252 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.5644, allocations: 2.04 MB / 0.9272 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.5647, allocations: 0.7163 MB / 0.9279 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 6.131e-05/0.5647, allocations: 17.55 kB / 0.9279 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.5648, allocations: 43.42 kB / 0.928 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of SimCode: time 2.6e-07/0.5648, allocations: 0 / 0.928 GB, free: 12.48 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/0.5829, allocations: 3.595 MB / 0.9315 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/7.703, allocations: 19.86 kB / 0.9315 GB, free: 9.039 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir_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_InletToAirDryAir.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1)