Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 108.9 kB / 16.42 MB, free: 5.98 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.001087/0.001087, allocations: 193 kB / 17.36 MB, free: 5.578 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.164/1.164, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001856/0.001856, allocations: 286 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.817/0.817, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.579e-05, allocations: 4.953 kB / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4492/0.4492, allocations: 249 MB / 0.9252 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02142/0.4707, allocations: 22.27 MB / 0.9469 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.472, allocations: 59.62 kB / 0.947 GB, free: 14.3 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98: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/Conversion/AirToOutlet.mo:96:3-98: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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44: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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44: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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44: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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_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/Adaptors/Inlet.mo:38:3-40: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/Adaptors/Inlet.mo:43:3-44: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/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_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.0022/0.4742, allocations: 0.9771 MB / 0.9479 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003014/0.4773, allocations: 1.469 MB / 0.9493 GB, free: 11.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.4812, allocations: 1.937 MB / 0.9512 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003096/0.4843, allocations: 3.065 MB / 0.9542 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.4858, allocations: 1.409 MB / 0.9556 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.488, allocations: 1.46 MB / 0.957 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009535/0.489, allocations: 0.9301 MB / 0.9579 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.4891, allocations: 112 kB / 0.958 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.4918, allocations: 1.609 MB / 0.9596 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of combineBinaries: time 0.3204/0.8122, allocations: 2.107 MB / 0.9617 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of replaceArrayConstructors: time 0.0009256/0.8132, allocations: 1.376 MB / 0.963 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.8136, allocations: 245.3 kB / 0.9633 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 0.0003244/0.8139, allocations: 76.52 kB / 0.9633 GB, free: 6.586 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 (216) * Number of variables: 224 (222) Notification: Performance of Bindings: time 0.00452/0.8184, allocations: 5.808 MB / 0.969 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FunctionAlias: time 0.0001829/0.8186, allocations: 210.3 kB / 0.9692 GB, free: 5 MB / 0.7169 GB Notification: Performance of Early Inline: time 0.002457/0.8211, allocations: 2.859 MB / 0.972 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simplify1: time 0.000187/0.8213, allocations: 179.4 kB / 0.9722 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of Alias: time 0.005565/0.8268, allocations: 5.488 MB / 0.9775 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simplify2: time 0.0001027/0.827, allocations: 98.81 kB / 0.9776 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of Events: time 0.0003089/0.8273, allocations: 336.5 kB / 0.9779 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of Detect States: time 0.0003739/0.8276, allocations: 478.7 kB / 0.9784 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of Partitioning: time 0.0006965/0.8284, allocations: 0.8527 MB / 0.9792 GB, free: 2.82 MB / 0.7169 GB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: bouAirNoC.res.port_a.Xi_outflow[1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) $FUN_1 = sum({bouAirNoC.res.port_a.Xi_outflow[1]}) ($RES_$AUX_251)