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.001025/0.001029, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001099/0.001099, allocations: 190.4 kB / 16.25 MB, free: 6.617 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.267/1.267, allocations: 222.9 MB / 239.9 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00205/0.00205, allocations: 286.8 kB / 290.3 MB, free: 2.051 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8857/0.8857, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 94.12 kB / 0.5948 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1241, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.3664/0.4906, allocations: 145.9 MB / 0.8223 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003807/0.4944, allocations: 4.599 MB / 0.8267 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.4946, allocations: 9.406 kB / 0.8268 GB, free: 0.7266 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.0004317/0.4951, allocations: 141.1 kB / 0.8269 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.4953, allocations: 79.94 kB / 0.827 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.4954, allocations: 54.28 kB / 0.827 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002735/0.4957, allocations: 306.5 kB / 0.8273 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002217/0.496, allocations: 149.2 kB / 0.8275 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.4961, allocations: 112 kB / 0.8276 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.4963, allocations: 157.9 kB / 0.8277 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.4963, allocations: 16.81 kB / 0.8277 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.806e-05/0.4963, allocations: 15.44 kB / 0.8277 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.4964, allocations: 72.59 kB / 0.8278 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.587e-05/0.4965, allocations: 101.9 kB / 0.8279 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.4966, allocations: 226.7 kB / 0.8281 GB, free: 424 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.4966, allocations: 1.094 kB / 0.8281 GB, free: 424 kB / 0.5606 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4967, allocations: 0 / 0.8281 GB, free: 424 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.4967, allocations: 0 / 0.8281 GB, free: 424 kB / 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.0003733/0.497, allocations: 492.8 kB / 0.8286 GB, free: 16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.4971, allocations: 9.969 kB / 0.8286 GB, free: 16 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.4971, allocations: 59.42 kB / 0.8287 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.4972, allocations: 29.09 kB / 0.8287 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.4974, allocations: 263.1 kB / 0.8289 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.4974, allocations: 15.69 kB / 0.829 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.4974, allocations: 21.59 kB / 0.829 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.4978, allocations: 309.8 kB / 0.8293 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4978, allocations: 3.422 kB / 0.8293 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.4978, allocations: 5.719 kB / 0.8293 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.4978, allocations: 6.938 kB / 0.8293 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.498, allocations: 125.4 kB / 0.8294 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.499, allocations: 1.974 MB / 0.8313 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.626e-05/0.4991, allocations: 170.3 kB / 0.8315 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.4991, allocations: 80.14 kB / 0.8316 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.4991, allocations: 80.47 kB / 0.8317 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.4992, allocations: 108.6 kB / 0.8318 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4992, allocations: 1.188 kB / 0.8318 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 7.226e-05/0.4993, allocations: 52.64 kB / 0.8318 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.4993, allocations: 134.1 kB / 0.8319 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.4996, allocations: 326.3 kB / 0.8322 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.4996, allocations: 31.08 kB / 0.8323 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.508e-05/0.4997, allocations: 159.4 kB / 0.8324 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.146e-06/0.4997, allocations: 4.375 kB / 0.8324 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.4997, allocations: 25.95 kB / 0.8325 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.4999, allocations: 333.7 kB / 0.8328 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.4999, allocations: 11.61 kB / 0.8328 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.4999, allocations: 61.12 kB / 0.8328 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.069e-05/0.5, allocations: 73.03 kB / 0.8329 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5, allocations: 0 / 0.8329 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001397/0.5001, allocations: 96.73 kB / 0.833 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.5002, allocations: 6.438 kB / 0.833 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-06/0.5002, allocations: 1.594 kB / 0.833 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.5002, allocations: 11.22 kB / 0.833 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.5003, allocations: 17.27 kB / 0.833 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5003, allocations: 2.469 kB / 0.833 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.836e-05/0.5003, allocations: 26.28 kB / 0.8331 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.5004, allocations: 4.125 kB / 0.8331 GB, free: 12.36 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.0001097/0.5005, allocations: 218.2 kB / 0.8333 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.287e-05/0.5005, allocations: 131.3 kB / 0.8334 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.34e-05/0.5006, allocations: 131.7 kB / 0.8335 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.672e-05/0.5007, allocations: 181.4 kB / 0.8337 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.917e-05/0.5007, allocations: 183.2 kB / 0.8339 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/0.5008, allocations: 181.1 kB / 0.8341 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.501, allocations: 477.4 kB / 0.8345 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/0.5011, allocations: 106.1 kB / 0.8346 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.5011, allocations: 107.2 kB / 0.8347 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.098e-05/0.5012, allocations: 181.6 kB / 0.8349 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-05/0.5012, allocations: 186.4 kB / 0.8351 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.874e-05/0.5013, allocations: 177.5 kB / 0.8352 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.915e-05/0.5013, allocations: 181.2 kB / 0.8354 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.5014, allocations: 328 kB / 0.8357 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.962e-05/0.5015, allocations: 209.7 kB / 0.8359 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.43e-05/0.5016, allocations: 181.4 kB / 0.8361 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.5017, allocations: 106 kB / 0.8362 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.5018, allocations: 181 kB / 0.8364 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.5018, allocations: 108.2 kB / 0.8365 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001891/0.502, allocations: 236.1 kB / 0.8367 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.502, allocations: 0 / 0.8367 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002382/0.5022, allocations: 24.38 kB / 0.8367 GB, free: 8.773 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.0003154/0.5026, allocations: 0.8328 MB / 0.8375 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.195e-05/0.5026, allocations: 24.94 kB / 0.8376 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.5026, allocations: 3.938 kB / 0.8376 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.5026, allocations: 1.062 kB / 0.8376 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/0.5033, allocations: 0.5332 MB / 0.8381 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002082/0.5054, allocations: 2.56 MB / 0.8406 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.5056, allocations: 0.7408 MB / 0.8413 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.294e-05/0.5057, allocations: 30 kB / 0.8413 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.5058, allocations: 62.67 kB / 0.8414 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.5058, allocations: 0 / 0.8414 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.613/2.119, allocations: 4.658 MB / 0.8459 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/2.119, allocations: 224.6 kB / 0.8462 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/3.906, allocations: 0 / 0.8462 GB, free: 3.688 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1)